mirror of
https://github.com/olexsmir/dotfiles.git
synced 2026-01-15 08:41:34 +02:00
jj: short log, d for diff, push, and show timestamp relatively to now
This commit is contained in:
parent
7780ef00f8
commit
a2613c565e
1 changed files with 7 additions and 2 deletions
|
|
@ -16,9 +16,11 @@ sign-on-push = true
|
||||||
auto-local-bookmark = true
|
auto-local-bookmark = true
|
||||||
|
|
||||||
[aliases]
|
[aliases]
|
||||||
l = ["log", "-n10"]
|
d = ["diff"]
|
||||||
|
l = ["log", "-r", "ancestors(reachable(@, mutable()), 3)"]
|
||||||
|
llog = ["log", "-T", "builtin_log_detailed"]
|
||||||
n = ["new"]
|
n = ["new"]
|
||||||
bc = ["bookmark", "create"]
|
push = ["git", "push"]
|
||||||
tug = ["bookmark", "move", "--from", "heads(::@- & bookmarks())", "--to", "@-"]
|
tug = ["bookmark", "move", "--from", "heads(::@- & bookmarks())", "--to", "@-"]
|
||||||
|
|
||||||
[templates]
|
[templates]
|
||||||
|
|
@ -29,3 +31,6 @@ concat(
|
||||||
diff.git(),
|
diff.git(),
|
||||||
)
|
)
|
||||||
'''
|
'''
|
||||||
|
|
||||||
|
[template-aliases]
|
||||||
|
"format_timestamp(timestamp)" = "timestamp.ago()"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue