GIT Bash

To view original repository:
$ git remote show origin

To push the repo to remote master
$ git push origin master

To branch a repo after clone
Clone repo: $ git clone <repository_url>

List all branches: $ git branch -a

Create new branch locally: $ git branch new_branch_name

Push new branch to remote origin repository

$ git push origin new_branch_name

By Keenlio, April 14, 2014

What do you think?

Leave a Reply

Your email address will not be published. Required fields are marked *


2 × nine =

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>