108
Q:

git push to branch

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

# Otherwise
git push origin BRANCH
12
git push -u origin <branch-name>
7
git push origin --force
3
Create a new branch:
git checkout -b feature_branch_name

Edit, add and commit your files.

Push your branch to the remote repository:
git push -u origin feature_branch_name
6
git push -u origin <branch>
3
git push -u origin <branch>
0
git push origin <Branch_Name>
2
git push origin branch-name
3
git push -u githubrepo master
1
$ git push <remote> <branch>
0
git checkout -b ma_branche_de_developpement
git push -u repository_distant ma_branche_de_developpement
0
 # push any desired branch to remote
 git push -u origin local_branch_name:remote_branch_name
0

New to Communities?

Join the community