Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

Undoing/Remove the Last Commit

Reset will rewind your current HEAD branch to the specified revision.

git reset --soft HEAD~1
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Last #Commit
ADD COMMENT
Topic
Name
9+1 =