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
Written by Ilic Davor
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Github
Authors

projectcleverweb
289.2K

jjperezaguinaga
90.23K
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#