Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

git sync branch with master

git checkout master
git pull
git checkout mybranch
git merge master


# to keep mybranch in sync with master

# then when you're ready to put mobiledevicesupport into master, first merge in master like above, then ...

git checkout master
git merge mybranch
git push origin master
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #git #sync #branch #master
ADD COMMENT
Topic
Name
1+4 =