Answers for "how to create a new branch and shift to it in git"

0

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
Posted by: Guest on September-04-2021
0

git command create new branch from current and move changes

git switch -c <branch name>
Posted by: Guest on February-23-2022

Code answers related to "how to create a new branch and shift to it in git"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language