Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

update branch with master

MERGE METHOD: (keeps branch history accurate)
git checkout b1
git merge origin/master
git push origin b1

REBASE METHOD: (history will appear linear, will conflict if already pushed)
git checkout b1
git rebase master
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #update #branch #master
ADD COMMENT
Topic
Name
1+3 =