Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

git remove all local commits

git reset --hard origin/<branch_name>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #git #remove #local #commits
ADD COMMENT
Topic
Name
9+2 =