Skip to content

Instantly share code, notes, and snippets.

View michaelschufi's full-sized avatar

Michael Schaufelberger michaelschufi

  • Switzerland, Zürich
View GitHub Profile
@michaelschufi
michaelschufi / Revert-Gist.md
Created March 14, 2020 12:48 — forked from eduncan911/Revert-Gist.md
Revert Gist Commits

Revert / Undo a Gist Commit

It was not exactly obvious. Here's how to revert a Gist commit!

Checkout the gist like a normal git repo:

# replace the Gist ID with your own
git clone git@github.com:cc13e0fcf2c348cc126f918e4a3917eb.git

Treat it like a normal repo. Edit, force push, etc.