Add switch way to create a new branch

This commit is contained in:
James Skemp 2023-05-05 04:46:15 -05:00
parent 22770746d7
commit f9de1883e5
1 changed files with 1 additions and 0 deletions

View File

@ -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