Answers for "how to specify which branch to push to remote"

39

git push to branch

# If its your first push
git push -u origin BRANCH

# Otherwise
git push origin BRANCH
Posted by: Guest on March-20-2020
2

push to specific remote branch

git push origin localBranchName:remoteBranchName
Posted by: Guest on June-21-2021

Code answers related to "how to specify which branch to push to remote"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language