Answers for "git un undo last commit"

60

undo commit

# KEEP CHANGES
git reset --soft HEAD~1

# REMOVE CHANGES
git reset --hard HEAD~1
Posted by: Guest on April-07-2020
0

revert last commit git

File > Other Settings > Settings for New Project > Version Control > Confirmation > When files are created > Do not add
Posted by: Guest on October-17-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language