config/git: add sd & dm shorties
This commit is contained in:
parent
2dd19df179
commit
6db452e760
|
@ -71,8 +71,8 @@
|
||||||
s = !git stl && git stb
|
s = !git stl && git stb
|
||||||
st = stb .
|
st = stb .
|
||||||
stb = status --short --branch
|
stb = status --short --branch
|
||||||
stv = --paginate status -v
|
sv = --paginate status -v
|
||||||
stvv = --paginate status -vv
|
svv = --paginate status -vv
|
||||||
|
|
||||||
r = remote -v
|
r = remote -v
|
||||||
b = branch -vv
|
b = branch -vv
|
||||||
|
@ -81,6 +81,7 @@
|
||||||
|
|
||||||
sw = switch
|
sw = switch
|
||||||
sc = switch -c
|
sc = switch -c
|
||||||
|
sd = switch -d
|
||||||
sm = !git switch $(git main)
|
sm = !git switch $(git main)
|
||||||
|
|
||||||
ref = reflog show --pretty=tformat:'%C(auto)%h%d %s %Cgreen(%cd) %Cblue<%an>%Creset'
|
ref = reflog show --pretty=tformat:'%C(auto)%h%d %s %Cgreen(%cd) %Cblue<%an>%Creset'
|
||||||
|
@ -102,6 +103,7 @@
|
||||||
when = git for-each-ref --sort=committerdate --format='%(refname:short) * %(authorname) * %(committerdate:relative)' refs/remotes/ # List all branches with their last updates
|
when = git for-each-ref --sort=committerdate --format='%(refname:short) * %(authorname) * %(committerdate:relative)' refs/remotes/ # List all branches with their last updates
|
||||||
|
|
||||||
d = diff
|
d = diff
|
||||||
|
dm = !git diff $(git merge-base $(git main) HEAD)
|
||||||
dw = diff --color-words
|
dw = diff --color-words
|
||||||
dc = diff --color-words="[^[:space:]]|([[:alnum:]]|UTF_8_GUARD)+"
|
dc = diff --color-words="[^[:space:]]|([[:alnum:]]|UTF_8_GUARD)+"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue