gitandroid-sourcegit-mirror

What is better way to maintain AOSP source code in git repository


I am new to git. We are more then 15 people working on same project.
May I know, what is the better approach to maintain AOSP source code in git repository. I am trying to create setup Git mirror or repo. Generally ,how people will maintain AOSP source code.


Solution

  • AOSP is split over many separate Git repositories and those are managed using a tool called repo.

    Think of repo as a manager for multiple Git repositories. It manages checking out the many Git repositories that make up AOSP and you can use it to switch branches (which in turn switches each underlying Git repository to the appropriate branch).