Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

git reset hard to remote

git reset --hard origin/master; git commit -m 'reset to remote';git push --force local dev
 
PREVIOUS NEXT
Tagged: #git #reset #hard #remote
ADD COMMENT
Topic
Name
1+3 =