2011年5月15日 星期日

Android Version Control with Repo and Git

Reference:
http://source.android.com/source/version-control.html

1) Download repo:
$ curl http://android.git.kernel.org/repo > ~/bin/repo
$ chmod a+x ~/bin/repo
$ set path to ~/bin/repo
 
2) Basic Workflow
The basic pattern of interacting with the repositories is as follows:
  1. Use repo start to start a new topic branch.
  2. Edit the files.
  3. Use git add to stage changes.
  4. Use git commit to commit changes.
  5. Use repo upload to upload changes to the review server.
 

沒有留言:

張貼留言