Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

delete last commit from remote repo

git reset HEAD^ --hard
git push <<remote>> -f
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #delete #commit #remote #repo
ADD COMMENT
Topic
Name
7+7 =