jj: show the diff in commit editor; add tug alias(which i feel i won't use much)

This commit is contained in:
Olexandr Smirnov 2025-08-10 01:11:08 +03:00
parent d2d0c722a1
commit 0d3beca4fc
No known key found for this signature in database

View file

@ -19,3 +19,13 @@ auto-local-bookmark = true
l = ["log", "-n10"] l = ["log", "-n10"]
n = ["new"] n = ["new"]
bc = ["bookmark", "create"] bc = ["bookmark", "create"]
tug = ["bookmark", "move", "--from", "heads(::@- & bookmarks())", "--to", "@-"]
[templates]
draft_commit_description = '''
concat(
coalesce(description, default_commit_description, "\n"),
"\nJJ: ignore-rest\n",
diff.git(),
)
'''