Git 2 · Remotes

Push a new branch

Push the branch and set its upstream so later pushes need no arguments.

git push -u origin feature/login

Official Git 2 documentation

More remotes commands

All remotes commands · Git 2 cheatsheet

Was this page helpful?