Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

git reset origin branch

git checkout mybranch
git reset --hard origin/mybranch
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #git #reset #origin #branch
ADD COMMENT
Topic
Name
4+1 =