Visual Arts Press Blog

The all knowing, ever present VAP knowledge base

Archive for November, 2013

Creating a new git branch locally and remotely

without comments

Locally

> git  checkout -b <new-branch-name>
> git push origin <new-branch-name>

Remotely

> git fetch
> git checkout --track -b <new-branch-name> remotes/origin/<new-branch-name>

 

 

Written by ecorriel

November 4th, 2013 at 9:29 pm

Posted in git,web