diff --git a/src/branching.md b/src/branching.md index f5d6133..2b589a4 100644 --- a/src/branching.md +++ b/src/branching.md @@ -20,6 +20,7 @@ git checkout @{-1} # Checkout and switch to a new branch. git checkout -b my_new_branch +git switch -c my_new_branch # Push the new branch to a remote. git push -u origin my_new_branch