jj: Add tug alias to move forward most recent bookmark

This commit is contained in:
Marty Oehme 2025-06-03 16:11:29 +02:00
parent 5913948705
commit b22334c442
Signed by: Marty
GPG key ID: 4E535BC19C61886E

View file

@ -18,6 +18,10 @@ pager = "delta"
[ui.diff] [ui.diff]
format = "git" # for the time being to use delta well format = "git" # for the time being to use delta well
[aliases]
# see: https://shaddy.dev/notes/jj-tug/, update most recent bookmark
tug = ["bookmark", "move", "--from", "heads(::@- & bookmarks())", "--to", "@-"]
[templates] [templates]
# Add git diffs to commit drafts # Add git diffs to commit drafts
draft_commit_description = ''' draft_commit_description = '''