maint: git switch

This commit is contained in:
Matthew Ryan Dillon 2021-08-10 15:46:12 -07:00
parent f864d13901
commit 5c619c4d01

View file

@ -42,8 +42,11 @@
d = diff
dc = diff --cached
s = status -s
co = checkout
cob = checkout -b
# TODO: drop when ready
# co = checkout
# cob = checkout -b
sw = switch
swc = switch -c
# list branches sorted by last modified
b = "!git for-each-ref --sort='-authordate' --format='%(authordate)%09%(objectname:short)%09%(refname)' refs/heads | sed -e 's-refs/heads/--'"
# list aliases