create remore git branch
// Example for creating a new branch named myNewBranch
git checkout -b myNewBranch
// First Push
git push --set-upstream origin myNewBranch
create remore git branch
// Example for creating a new branch named myNewBranch
git checkout -b myNewBranch
// First Push
git push --set-upstream origin myNewBranch
git push to branch
# If its your first push
git push -u origin BRANCH
# Otherwise
git push origin BRANCH
git new branch push to remote
git push -u origin <branch>
git push in a new branch
git checkout -b <branch>
git add .
git commit -m "comment"
git push -u origin <branch>
create new remote branch
git checkout -b <new-branch-name> #Create new branch locally
git push <remote-name> <new-branch-name> #Create new branch remotely
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