Skip to content

Repository Cloning, Updating, Committing, and Pushing

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

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

      cd github-android
    
  • Add upstream provider as a remote repository

      git remote add aug-mn https://github.com/aug-mn/android.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