Questions tagged [git-repo]

Repo is a tool built by Google that works on top of Git. Repo helps manage many Git repositories, uploads to a revision control system, and automates parts of the Android development workflow. Repo is not meant to replace Git, only to make it easier to work with Git in the context of Android. The repo command is an executable Python script that you can put anywhere in your path.

Repo is a tool built by Google that works on top of Git. Repo helps manage many Git repositories, uploads to a revision control system, and automates parts of the Android development workflow. Repo is not meant to replace Git, only to make it easier to work with Git in the context of Android. The repo command is an executable Python script that you can put anywhere in your path.

To work with the Android code, you will need to use both Git and Repo. In most situations, you can use Git instead of Repo, or mix Repo and Git commands to form complex commands. Using Repo for basic across-network operations will make your work much simpler, however.

See these documentation pages for more information:

99 questions
4
votes
2 answers

"repo init -b branch; repo status" does not show you're on a branch

I am struggling to understand repo and git. I have created a branched manifest.xml file that specifies Everything works fine but when the repo sync is complete there is no indication that each project is on…
acurtis
  • 151
  • 2
  • 7
4
votes
1 answer

Use Git to synchronize one project from a "Repo" repository

Some people in my company use Repo to manage multiple repositories. I need to read (not alter/commit) some of this content. I'm hoping to avoid installing Repo, and just use Git. Here are the instructions provided for getting the repository I care…
Phrogz
  • 296,393
  • 112
  • 651
  • 745
3
votes
0 answers

pip install git repo - installation successful but import fails

I have 2 git repositories lets call them Framework and Workflows. While running the Workflows i need to install the Framework repo using pip3. setup.py of Frameworks looks like this: from distutils.core import setup setup(name='athena', …
manoj prashant k
  • 339
  • 1
  • 13
3
votes
1 answer

Can I shorten the history of a git repository

At first, I made a shallow-clone. After this, I found some old commits introducing some large files. For example, these old commits replaced a binary file again and again. Now, I didn't want my local reposiotry containing these big changes. How can…
Hobin C.
  • 671
  • 1
  • 8
  • 17
3
votes
1 answer

Git Error: remote unpack failed: unable to create temporary object directory - While attempting to push to remote repository

While attempting to push to a remote repository I am receiving the following error Enumerating objects: 5, done. Counting objects: 100% (5/5), done. Delta compression using up to 40 threads. Compressing objects: 100% (3/3), done. Writing objects:…
krobinson
  • 33
  • 1
  • 4
3
votes
1 answer

What is the size limit of each git repository created in azure devops

What is the size limit of Git azure devops repository,in microsoft docs it says 10gb so this 10 gb is for all the repositories collectively or separately for each repositories .…
Chandan Kumar
  • 127
  • 1
  • 3
  • 7
3
votes
2 answers

Delete Commit on Github through Browser

This is my first time using github and I was having trouble with some of the commands and committed the same thing about 7 times through terminal. I don't know how this is possible because I thought you could only commit if there are changes made in…
user12960916
3
votes
0 answers

Why doesn't git repo checkout the branch specified?

I've just started a new job where they're using git-repo. There's an XML manifest file that contains all the different repos that looks like:
parsley72
  • 8,449
  • 8
  • 65
  • 98
3
votes
1 answer

Source control confusion

Im pretty new to android development although Ive been working on kernel for some time. The questions is: Ive made changes across modules in the kernel and from the top level directory of kernel, If I do git diff or git status, it shows all the…
3
votes
1 answer

How to specify two remote fetch for single git repository in repo manifest?

I want to specify two different fetch servers for single git repo in android repo manifest .xml. Is it possible to do? Actually I am having one local mirrored repo and want to sync my new repo from this. But as some of the git repositories are not…
2
votes
3 answers

Clone from a local repository, then pushing back the changes

I have a git repository on my local system in /original/.git. Now, I have cloned this repository in /cloned_one/.git. Everything looks fine. Here, I have the same files that I have in /original which is quite nice. I create a new file and commit it.…
Sadra
  • 167
  • 1
  • 9
2
votes
2 answers

Unify branches of two local copies of same repository

I have two copies of same git repository locally. Those two copies have each their own local branches. Can I somehow "unify" those two repositories and create one which will have local branches from both of repositories?
Wakan Tanka
  • 7,542
  • 16
  • 69
  • 122
2
votes
2 answers

Git - manage multiple projects under one repository

I've a projectA repository which has master branch and other feature branches gets merged into the master branch with pull requests. Now, we're going to start a new projectB which will have everything as same as projectA with few features turned off…
Valay
  • 1,991
  • 2
  • 43
  • 98
2
votes
1 answer

Need to clone a GIT repository into remote server

I Need to clone a GIT repository into remote server via SSH. I have tried doing this in the traditional way, using git clone git@github.xyz.com:username/repository.git The above gave me fatal: Could not read from remote repository. Please make…
Raghu
  • 33
  • 6
2
votes
2 answers

Sync two same project but separate git repos and with different package structure

I need to sync between two different git repos, but both the repos have same project code/files and different package structure. The problem currently facing is I need to clone and push the changes 2 times, is it possible to do a push to both the…
Shashi Kiran
  • 362
  • 2
  • 9
  • 27