Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

github.com local branch equal to remote

// Setting your branch to exactly match the remote branch can be done in two steps:
git fetch origin
git reset --hard origin/master
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #local #branch #equal #remote
ADD COMMENT
Topic
Name
3+9 =