Add new branching command

This commit is contained in:
James Skemp 2022-10-28 13:23:56 -05:00
parent b50bf507eb
commit 0bb5ad3a91
1 changed files with 3 additions and 0 deletions

View File

@ -63,6 +63,9 @@ git checkout <branchName>
# Add a specific commit on top of the current branch.
git cherry-pick <commit-id>
# Add a specific commit on top of the current branch, but don't automatically commit it. Allows you to manually tweak what's getting pulled in.
git cherry-pick -n <commitId>
# Rename the current branch
git branch -m <newBranchName>