Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

git undo commit

# Uncommit the changes
git reset --soft HEAD~1

# Completely delete the changes
git reset --hard HEAD~1
Source by www.git-tower.com #
 
PREVIOUS NEXT
Tagged: #git #undo #commit
ADD COMMENT
Topic
Name
9+5 =