Answers for "merge remote commits to local then push"

1

merge remote commits to local then push

git checkout master
git fetch <remote>

# Merge remote/master
git merge remote/master

# Or rebase local commits on top instead
git rebase remote/master

# Push the results
git push remote master
Posted by: Guest on October-24-2021
0

git merge pushed commits

git push origin +master
Posted by: Guest on March-03-2020

Code answers related to "merge remote commits to local then push"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language