Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

git go back to previous commit remote branch

git reset --hard <commit-hash>
 git push -f origin master
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #git #previous #commit #remote #branch
ADD COMMENT
Topic
Name
4+4 =