add git switch aliases
This commit is contained in:
parent
797fdb5b41
commit
f42be40ce5
@ -11,6 +11,10 @@
|
||||
dno = diff --name-only
|
||||
dw = diff --word-diff=color
|
||||
dws = diff --word-diff=color --staged
|
||||
sw = switch
|
||||
swl = switch -
|
||||
swb = switch -c
|
||||
swc = switch -c
|
||||
co = checkout
|
||||
col = checkout @{-1}
|
||||
cob = checkout -b
|
||||
|
||||
@ -76,7 +76,7 @@ alias vi='nvim'
|
||||
alias svi="sudo --preserve-env nvim"
|
||||
|
||||
# git
|
||||
for al in s d di co col cob ds u ps pl pr hs last lastd df amend br fuck
|
||||
for al in s d di co col cob ds u ps pl pr hs last lastd df amend br fuck sw swl swc swb
|
||||
do
|
||||
alias "g${al}"="git ${al}"
|
||||
done
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user