config/git: improve alias modularity
This commit is contained in:
parent
f48ca2969e
commit
cdde681aaa
|
@ -109,8 +109,8 @@
|
|||
curbranch = symbolic-ref --short HEAD
|
||||
upstream = !git rev-parse --abbrev-ref --symbolic-full-name @{upstream} || git rev-parse --abbrev-ref --symbolic-full-name @{push} || echo origin/$(git curbranch)
|
||||
|
||||
lg = log --pretty=tformat:'%C(auto)%h%d %s %Cgreen(%cd) %Cblue<%an>%Creset' --date=human --graph
|
||||
lgu = lg HEAD @{push}
|
||||
lgr = log --pretty=tformat:'%C(auto)%h%d %s %Cgreen(%cd) %Cblue<%an>%Creset' --date=human --graph
|
||||
lg = lgr HEAD @{push}
|
||||
lo = log --pretty=tformat:'%C(auto)%h%d %s %Cgreen(%cd) %Cblue<%an>%Creset' --date=human --no-merges
|
||||
lp = log -p --date=local
|
||||
my = lo --author [Jj]anek
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
[alias]
|
||||
journal = !git add $(git root)/2-standards/notes/journal && git cme "notes/journal:" -- $(git root)/2-standards/notes/journal
|
||||
note = !git cme "notes:" -- $(git root)/2-standards/notes
|
||||
write = !git add $(git root)/2-standards/writing && git cme "write:" -- $(git root)/2-standards/writing
|
||||
journal = !git add $(git root)/2-standards/notes/journal && git cme "notes/journal:" $(git root)/2-standards/notes/journal
|
||||
note = !git cme "notes:" $(git root)/2-standards/notes
|
||||
write = !git add $(git root)/2-standards/writing && git cme "write:" $(git root)/2-standards/writing
|
||||
|
|
Loading…
Reference in New Issue