Git undo cheatsheet

This is a cheat sheet for undoing changes in git.

Local Changes

Undo with:

Staged Changes

Undo with:

Committed Changes

Undo with:

Remote Changes

Undo with:

Leave a Reply

Your email address will not be published. Required fields are marked *