cekwba
Last Updated: February 25, 2016
·
1.953K
· monde
74c036cfbef785b139d06ccad4687b44

commiting to a remote github gist

If you own a gist, for example gist number 123456, then you can clone it locally using the scp-like git url syntax and push up your changes to the remote gist.github.com.

# clone your gist
git clone git@gist.github.com:123456.git my-awesome-gist
cd my-awesome-gist

# edit some file, commit changes
# e.g. git commit -v some-file.txt
# then push it back up to gist.github.com
# for everyone else to access

git push
Say Thanks
Respond
Filed Under