maint: git switch
This commit is contained in:
parent
f864d13901
commit
5c619c4d01
1 changed files with 5 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue