Answers for "git revert commit but keep changes"

4

git undo commit keep changes

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

git reset keep changes

git reset HEAD^ --soft
Posted by: Guest on May-19-2020
1

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