--- alias: "create branch from commit" name: "create branch from commit" --- up::[[Git Branches]] title::"`git checkout -b `" title::"`git branch `" #informatique ---- ```bash $> git checkout -b # create and switch to the new branch $> git branch # create but don't switch ```