git switch
Jump to navigation
Jump to search
git switch doc
Switch to another branch
git switch BranchToChange git switch -
git switch --create main or git switch -c main
Contents
Errors[edit]
You are in 'detached HEAD' state.Move existing, uncommitted work to a new branch in gitfatal: a branch is expected, got remote branch
Activities[edit]
Related[edit]
See also[edit]
Advertising: