Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

git create branch

// Example for creating a new branch named myNewBranch
// git switch is specifically for branches while git checkout is for 
// both branches and commits
git switch -c myNewBranch

// First Push
git push -u origin HEAD
Source by github.com #
 
PREVIOUS NEXT
Tagged: #git #create #branch
ADD COMMENT
Topic
Name
1+2 =