Answers for "how to create a remote branch in git from local"

5

create local and remote branch

git checkout -b yourBranchName
git push -u origin yourBanchName
Posted by: Guest on April-27-2020
0

git link local branch to remote branch

git config remote.origin.fetch '+refs/heads/*:refs/remotes/origin/*'
Posted by: Guest on December-05-2020

Code answers related to "how to create a remote branch in git from local"

Browse Popular Code Answers by Language