diff --git a/.config/git/config b/.config/git/config index 5823c03..93fbdef 100644 --- a/.config/git/config +++ b/.config/git/config @@ -14,7 +14,9 @@ cf = cat-file ci = commit cim = commit --message cl = clone +checkout-all = "!f() { for branch in $(git branch -r | grep -v '\\->'); do git branch --track ${branch#origin/} $branch; done; git fetch --all; }; f" co = checkout +coa = checkout-all cob = checkout -b cod = checkout develop com = checkout master