Skip to content

Instantly share code, notes, and snippets.

@ziadoz ziadoz/readme.md
Created Aug 30, 2019

Embed
What would you like to do?
Cloning Github Gists

Cloning Github Gists

To clone a gist:

git clone git@gist.github.com:[GIST ID].git

If you need to add a remote to an existing repository:

git remote add origin git@gist.github.com:[GIST ID].git
git pull origin master --allow-unrelated-histories
git push --set-upstream origin master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.