git switch
noun
say it: “git SWICH” /ɡɪt swɪtʃ/
The Git command that moves you to another branch, or creates a new one with -c.
What does git switch do?
git switch — Changes the current branch or creates and switches to a new branch.
git switch feature/search
In a sentence
- “I used git switch main to go back to the main branch.”
Level: Apprentice · More Git terms at this level
Updated