Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

git remove last commit origin

//Undo the last commit locally 
git reset HEAD^

//then push to the remote repository
git push origin +HEAD
Source by melvingeorge.me #
 
PREVIOUS NEXT
Tagged: #git #remove #commit #origin
ADD COMMENT
Topic
Name
1+3 =