Wednesday, November 20, 2019

Reset last commit and change last commit

git commit --amend        # Change last commit
git reset HEAD~1 --soft   # Undo last commit

No comments:

Post a Comment