Answers for "after renaming branch"

2

rename branch to main

$ git branch -m master main

or create a new one

$ git checkout -b main
Posted by: Guest on October-03-2020
0

Rename git branch while working in the branch

git branch -m <new name>
Posted by: Guest on July-09-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language