Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

git create local branch

# To create a new local branch...
# ...based on the current revision:
$ git checkout -b <branch-name>

# ...based on a specific revision hash:
$ git checkout -b <branch-name> <commit-hash>
Source by www.git-tower.com #
 
PREVIOUS NEXT
Tagged: #git #create #local #branch
ADD COMMENT
Topic
Name
2+2 =