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
|
d = diff
|
||||||
dc = diff --cached
|
dc = diff --cached
|
||||||
s = status -s
|
s = status -s
|
||||||
co = checkout
|
# TODO: drop when ready
|
||||||
cob = checkout -b
|
# co = checkout
|
||||||
|
# cob = checkout -b
|
||||||
|
sw = switch
|
||||||
|
swc = switch -c
|
||||||
# list branches sorted by last modified
|
# 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/--'"
|
b = "!git for-each-ref --sort='-authordate' --format='%(authordate)%09%(objectname:short)%09%(refname)' refs/heads | sed -e 's-refs/heads/--'"
|
||||||
# list aliases
|
# list aliases
|
||||||
|
|
Loading…
Add table
Reference in a new issue