Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

git create branch without initial commit

git checkout --orphan <name_you_choose_for_orphan_branch>
git commit
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #git #create #branch #initial #commit
ADD COMMENT
Topic
Name
9+4 =