From b22334c442367dfefd5b4a6283d289d6970b0cac Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Tue, 3 Jun 2025 16:11:29 +0200 Subject: [PATCH] jj: Add tug alias to move forward most recent bookmark --- vcs/jj/config/jj/config.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/vcs/jj/config/jj/config.toml b/vcs/jj/config/jj/config.toml index a6d915c..134f553 100644 --- a/vcs/jj/config/jj/config.toml +++ b/vcs/jj/config/jj/config.toml @@ -18,6 +18,10 @@ pager = "delta" [ui.diff] 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] # Add git diffs to commit drafts draft_commit_description = '''