Skip to content

Instantly share code, notes, and snippets.

@hafichuk
Created May 13, 2013 15:11
Show Gist options
  • Save hafichuk/5569044 to your computer and use it in GitHub Desktop.
Save hafichuk/5569044 to your computer and use it in GitHub Desktop.

Gists: How to merge changes from a fork

# Clone your gist
git clone git@gist.github.com:abcdef.git 
cd abcdef

# Add the fork as a remote
git remote add downstream git@gist.github.com:uvwxyz.git

# Merge in the changes from the fork
git pull downstream master

# Push up the changes to your gist
git push origin master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment