Answers for "how to undo local commit git but keep changes"

5

git undo commit keep changes

#windows
git reset --soft HEAD~1
Posted by: Guest on February-23-2021
2

git revert commit but keep changes

git reset HEAD^
Posted by: Guest on August-04-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language