Basic Git Branch Operations: Create, Update, Delete

Posted on the 12 November 2012 by Akahgy

Description:

Basic Git version control operations regarding branches.

Solution:

Create branch:

>git checkout -b branches/new_branch

Fetch changes:

>git fetch

Update branch/branches:

>git pull

>git pull origin branches/new_branch

Delete branch:

>git branch -D branches/new_branch