Shell/Bash: git undo commit keep changes Example
Shell/Bash Example: This is the "git undo commit keep changes" Example. compiled from many sources on the internet by SimpleTutorials.org
git undo commit keep changes
#windows git reset --soft HEAD~1
git reset keep changes
git reset HEAD^ --soft
undo last commit but keep changes
git reset @~
undo git commit and keep changes
git reset HEAD^ git reset
git revert commit but keep changes
git reset HEAD^
* Summary: This "git undo commit keep changes" Shell/Bash Example is compiled from the internet. If you have any questions, please leave a comment. Thank you!