tkaema
Last Updated: February 25, 2016
·
361
· webfacer
1ac40ea49b742e19deae3940d1228472

git create branch local and push the new barnch to repositry

You created a branch local and want now to push it to your existing browser.

creating a branch and switch to it:

$ git checkout -b localBranch
$ git commit -a

after that you want to push the hole branch to your repositiory:

$ git push -u origin **localBranch**

after that you will see this line output after it is pushed to repository:

* [new branch]      localBranch -> localBranch
Say Thanks
Respond