Push a Branch to Git

Tools

git-logo

I found this example of how to push a branch to Git in the GitHub documentation.

git push <remote_repository_name> <branch_name>

E.g.

git push origin master

Execute this from the base of your local repository. This pushes your local commits to the TOT.

No Comments

Leave a Reply

Allowed tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>