What is the added value of Repo (+ git)?

The repo (git wrapper) does not describe in detail where I found this , except to say:

Repo is a tool that we built on top of Git. Repo helps us manage many Git repositories, uploads them to our version control system, and automates parts of the Android development workflow. Repo is not intended to replace Git, only to simplify working with Git in the context of Android.

... For example, with a single Repo command, you can upload files from multiple repositories to your local working directory.

What benefits or effectiveness does Repo add? When can it be useful to add a project to the toolchain?

+5
source share
1 answer

repo is designed to make it easier to work with teams in several independent git repositories, as well as manage specific device configurations by controlling the git included in the manifest.

For example, in Android

There is a git core repository git framework, etc. --- more than a hundred.

Repo is always 1.) Run git commands throughout the collection 2.) Allows you to customize configurations by changing the manifest of the repo. (For example, perhaps you wanted one device to be built using the new google apk, but the other device should not have it.) In android, you really can't handle conditional compilation, but rather control the manifest that git is actually in product.

, , . , git , , , , android (IE > 100 , ).

+2

All Articles