by whatthefoo

whatthefoo /ohshitgit

⁉️Oh shit! A cli tool to help you unfuck your git mistakes

132 Stars 2 Forks Last release: Not found 38 Commits 5 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

Oh shit!

A cli tool to help you unfuck your git mistake.

Git is hard: screwing up is easy, and figuring out how to fix your mistakes is fucking impossible.


npm install -g ohshitgit


Once that's done, you can run this command inside your project's root directory:


That's it! :tada:

Inspired by

Katie Sylor-Miller's awesome webpage Oh Shit Git!


Leif Riksheim (@leifriksheim) - WTFoo

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.