Answers for "can i update branch from master"

3

git how to update branch from master

git fetch
git rebase origin/master
Posted by: Guest on December-14-2020
0

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
Posted by: Guest on January-09-2021

Code answers related to "can i update branch from master"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language