Skip to content

Instantly share code, notes, and snippets.

@peterfpeterson
Last active August 29, 2015 13:58
Show Gist options
  • Select an option

  • Save peterfpeterson/10127581 to your computer and use it in GitHub Desktop.

Select an option

Save peterfpeterson/10127581 to your computer and use it in GitHub Desktop.
How to pull in other peoples forks of your gist
  1. git clone <yourgisturl> <usefulname>
  2. cd <usefulname>
  3. edit the .git/config to have the origin remote point at git@gist.github.com:1234.git rather than the https url. I'm sure there is a
  4. git remote add <name> <forkurl>
  5. git fetch <name>
  6. git merge <name>/master --no-ff
  7. git push origin master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment