RSSAmplifier

Jessica Temporal · Jul 2, 2026

git switch -c: create a branch and switch in one command

0
Sign in to vote or save

This site does not allow itself to be embedded. You can still read it on the original site — the toolbar below keeps your place in the directory.

Did you know you can create a branch in git and change to it all with a single command? Well, there are actually two commands that can help you do this, but today we are going to talk about git switch . 🤔 git switch is the command for changing branches, so you switch from one branch to another. But there is a little flag you can use to create the branch and then make the switch: -c . C stands for…

Read on jtemporal.com

Comments

Nothing yet. Say the first thing.

    Sign in to join the conversation.