Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

exit branch git

You can do a "git checkout master". 
Then a "git checkout -b new_branch"

"git checkout -b foo" is the short form for "git branch foo" 
and "git checkout foo" afterwards.
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #exit #branch #git
ADD COMMENT
Topic
Name
2+9 =