mirror of
https://github.com/jakubpawlowicz/git-cheat-sheet.git
synced 2025-12-19 06:18:59 +02:00
Adds col alias.
Checks out (creates) a local branch.
This commit is contained in:
@@ -171,6 +171,7 @@ git config --global alias.c "commit"
|
||||
git config --global alias.ca "commit --amend"
|
||||
git config --global alias.cf '!sh -c "git commit --fixup $@"'
|
||||
git config --global alias.co "checkout"
|
||||
git config --global alias.col '!sh -c "git checkout -b $@"'
|
||||
git config --global alias.cor '!sh -c "git checkout --track -b $@ origin/$@"'
|
||||
git config --global alias.cp "cherry-pick"
|
||||
git config --global alias.cpa "cherry-pick --abort"
|
||||
|
||||
Reference in New Issue
Block a user