- Clone your gist repo locally, i.e.
git clone [email protected]:f28d47c9ee46445b6a13a9c839c629e8.git gist-collaboration
- 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
- Fetch your friend’s commits:
git fetch blergh
- Merge your friend’s changes into your repo:
git merge blergh/master
- Push the changes back to GitHub:
git push origin master
-
-
Save freejoe76/f28d47c9ee46445b6a13a9c839c629e8 to your computer and use it in GitHub Desktop.
How to collaborate on a gist
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment