Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

git new branch from current

branchShell/Bash By Scriper on Sep 2 2020 Comment
// Example for creating a new branch named myNewBranch
git checkout -b myNewBranch

// First Push
git push --set-upstream origin myNewBranch
 
PREVIOUS NEXT
Tagged: #git #branch #current
ADD COMMENT
Topic
Name
4+1 =