Answers for "how to merge master into current branch"

3

merge master with main

git checkout master
git pull origin master
git merge test
git push origin master
Posted by: Guest on February-07-2021
-1

git merge a branch to master/main

- git checkout master #change to master branch
- git pull origin master #update your master branch from GitHub
- git merge <branchname> -m "your message here" #merge a branch into master branch 
- git add . 
- git commit -m "final commit"
- git push origin master
Posted by: Guest on March-12-2022

Code answers related to "how to merge master into current branch"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language