Category: Recovery

How to abort a git commit amend 0

How to abort a git commit amend

Sometimes you issue a git commit –amend only to realize that you didnt really mean to amend the previous commit. You’d rather save your changes as a new commit. This can happen under many...

How to undo local changes in git 0

How to undo local changes in git

Lets say you have a couple of changes in your working directory that you want to discard. There are a few ways in which you can accomplish this. 1) Stash all your changes, then...