Repo is a repository management tool that Android built on top of Git. Repo unifies the many Git repositories when necessary, does the uploads to our 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.
Questions tagged [repo]
604 questions
0
votes
1 answer
Why can "repo sync" overwrite my local changes?
When I do some changes locally into /framework/base and then I type repo sync (To be up-to-date with ROM changes), it will automatically overwrite my local changes..Imagine if I do 100 changes, should I re-do them again?
Is there a method for not…

SlimShadys
- 119
- 3
- 17
0
votes
1 answer
How to checkout CAF branch on Cyanogenmod?
I noticed that Cyanogenmod has branches on some of its git repos named like this: cm-13.0-caf-8916. How do I check those out on repo? I tried repo init -u https://github.com/CyanogenMod/android.git -b cm-13.0-caf-8916 but it didn't find it.

justanotherxl
- 319
- 1
- 11
0
votes
1 answer
Remove images from remote repository, but not developer repositories
I'm working on a project where my client is loading data on the server and every time I pull the server changes, I get all the new images.
My repo is now 3.3gb large, which is unmanageable. I've added the images folder to my local .gitignore, but…

steeped
- 2,613
- 5
- 27
- 43
0
votes
1 answer
Need to reset android AOSP code to Lollipop
I have downloaded the current master of Android AOSP which is Android 6.0 source code.
Is there a way available using repo to set the master to Android 5.1 so that all git repositories are set accordingly?
Note: I wish to do this without downloading…

n3wcod3r
- 114
- 10
0
votes
0 answers
Why is repo(use git inside) sometimes slow and unstable?
I'm trying to get a project using repo, and I learn that it is actually using git to clone objects inside it.
However, it's just too unstable, sometimes it is up to 1.5M/s and sometimes even slower than 10KB/s, which finally causes an early EOF…

Tgn Yang
- 330
- 3
- 16
0
votes
2 answers
Download SEAndroid for AOSP base on repo Issue
I refer this
Download SEAndroid but the following error occurs.
Retrying clone after deleting None
error: Cannot fetch system-vold (GitError: --force-sync not enabled; cannot overwrite a local work tree)
Fetching project…

user5200432
- 13
- 1
- 1
0
votes
1 answer
Foresight linux repo needs to be rebuild
We have a serious problem with foresight linux. As we know it, foresight has no support due to the conary package method which is shutdown now. However in our application the build fails because the online repo is not reachable (rpath).
This is the…

user1852104
- 209
- 1
- 4
0
votes
1 answer
Creating Custom Git repo with Google Repo
I have created a private repo on bitbucket. The repo contains a .repo/manifests/default.xml file, as well as a symlink .repo/manifest.xml which points to default.xml. The default.xml is seen below:
…

lufthansa747
- 1,923
- 3
- 26
- 39
0
votes
1 answer
Which folder I have to move to start repo sync?
I started syncing repo with the command ' $ repo sync -j4 '(without the quote). After downloading some data, I checked with th command ' ls -al' and could not find any .repo folder. I think I will have to go to my created folder named as cm12 and…
0
votes
1 answer
Repo Commands Hang Cyanogenmod
I am building the cyanogenmod ROM and kernel from source. I downloaded repo successfully, and was able to run "repo init" and "repo sync" successfully. I build my rom and kernel and flashed them successfully. I have recently begun making slight…

Isaac Zinda
- 53
- 4
0
votes
1 answer
libgit2sharp branch not found on freshly cloned repo
libgit2sharp 0.21.0.176
C# on Windows Server 2008
I need to obtain reference to a specific branch.
On my Windows machine, I fresh git clone local repo from remote origin on GitHub.
Next I execute following libgit2sharp code :
var localRepo = new…

BaltoStar
- 8,165
- 17
- 59
- 91
0
votes
1 answer
How to clone entire repo using eGit?
I am new to GIT. I have a manifest file that contains group of related projects. I installed eGIT eclipse plugin to clone the projects. I am able to clone projects one by one in the manifest file. But I want all the projects in my manifest file to…

Bhargav Kumar R
- 2,190
- 3
- 22
- 38
0
votes
2 answers
How to determine if files I modified have new commits on github?
First, sorry for such a confusing pesky title, I really can't find a better way to describe this (would appreciate any changes suggested to post).
The problem
I synced a github repo. And also modified some files and codes inside according to my…

Jaskaranbir Singh
- 2,034
- 3
- 17
- 33
0
votes
1 answer
Android repo with "winsymlinks:nativestrict" in Cygwin
I'm using cygwin built-in git and python to for Android repo tool.
If I set CYGWIN=winsymlinks, everything works fine.
If I set CYGWIN=winsymlinks:nativestrict to tell cygwin to make windows native symlinks and run cygwin as Administrator, in a repo…

Yorkwar
- 1,204
- 1
- 11
- 27
0
votes
3 answers
Android Repo sync Fatal error
$ repo sync for
Build LMY47V android-5.1.1_r1 Lollipop
results into error:
Fetching projects: 62% (302/486) Fetching project platform/frameworks/base
fatal: Not a git repository: '/home/ashish/askdnx/.repo/projects/frameworks/base.git'
The…

Ashish Krishnan
- 422
- 2
- 8
- 16