push to specific remote branch
git push origin localBranchName:remoteBranchName
push to specific remote branch
git push origin localBranchName:remoteBranchName
push local branch changes to remote branch
git push -u origin localBranch:remoteBranchToBeCreated
Push your branch up to the remote.
$ git push <remote> <branch>
git push to different remote branch
# To remove the exist origin
git remote remove origin
# And then add new origin master URL
git remote set-url origin git://new.url.here
Follow me on GITHUB/bilalahmedkhatri
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us