Skip to content

Repository Cloning, Updating, Committing, and Pushing

risaacson edited this page Oct 28, 2012 · 5 revisions
  • Clone your repository where USERNAME is your github.com username

      git clone https://github.com/USERNAME/android.git
    
  • Chand directory to your cloned repository

      cd android
    
  • Add upstream provider as a remote repository

      git remote add aug-mn https://github.com/aug-mn/andorid.git
    
  • Method 1 to merge upstream changes.

      git fetch -v aug-mn
      git merge aug-mn/master
    
  • Method 2 to merge upstream changes.

      git pull aug-mn master
    
  • Push up into USERNAME's github repository.

      git push origin master
    
Clone this wiki locally