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 www.codeleaks.io #
 
PREVIOUS NEXT
Tagged: #Last #Commit
ADD COMMENT
Topic
Name
5+6 =