Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

remove last commit from remote

git push origin +HEAD^:<name of your branch, most likely 'master'>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #remove #commit #remote
ADD COMMENT
Topic
Name
3+2 =