Skip to content

Instantly share code, notes, and snippets.

@dmpeters
Last active December 17, 2015 20:59
Show Gist options
  • Select an option

  • Save dmpeters/5671274 to your computer and use it in GitHub Desktop.

Select an option

Save dmpeters/5671274 to your computer and use it in GitHub Desktop.
How to move a private gist to public gist in 6 easy steps

How to move a private gist to public gist in 6 easy steps

  1. git clone git@gist.github.com:/[PRIVATE GIST UNIQUE ID].git private_gist_temp
  2. cd private_gist_temp
  3. create public temp gist
  4. git remote set-url origin git@gist.github.com:/[PUBLIC GIST UNIQUE ID].git
  5. git push -f
  6. refresh public gist
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment