Skip to content

Instantly share code, notes, and snippets.

@freejoe76
freejoe76 / gist-collaboration.md
Last active June 21, 2018 14:49 — forked from maglietti/gistColaboration.md
How to collaborate on a gist

How to collaborate on a gist

  1. Clone your gist repo locally, i.e. git clone git@gist.github.com:f28d47c9ee46445b6a13a9c839c629e8.git gist-collaboration
  2. Add your friend’s fork as a remote e.g. if your friend is named Cindy: git remote add blergh https://gist.github.com/cindy/df03bdacaef75a80f310
  3. Fetch your friend’s commits: git fetch blergh
  4. Merge your friend’s changes into your repo: git merge blergh/master
  5. Push the changes back to GitHub: git push origin master
<!-- ################################################################################################ -->
<!-- -->
<!-- THIS FILE IS FAR FROM COMPLETE -- DON'T USE IT WITHOUT FIXING EVERYTHING!! -->
<!-- -->
<!-- Things to fix: -->
<!-- Everything in the meta twitter: tags! -->
<!-- Everything in the Facebook og: meta tags -->
<!-- All the other meta tags! -->
<!-- The Title! -->
<!-- The Omniture tags!