Difference between HEAD^ and HEAD~
What's the difference in git between HEAD^ and HEAD~ ?
specially in these two commands:
git reset --soft HEAD~
git reset HEAD^
Also, what would be the best way to undo a commit and what would be the best way to undo a commit and a push ?
specially in these two commands:
git reset --soft HEAD~
git reset HEAD^
Also, what would be the best way to undo a commit and what would be the best way to undo a commit and a push ?