jj: short log, d for diff, push, and show timestamp relatively to now

This commit is contained in:
Olexandr Smirnov 2025-08-11 00:09:30 +03:00
parent 7780ef00f8
commit a2613c565e
No known key found for this signature in database

View file

@ -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()"