From 69a20858db0eccf262a58f44c205e6525f26d785 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Niemier?= <~@hauleth.dev> Date: Mon, 16 Jun 2025 09:53:28 +0200 Subject: [PATCH] feat: add more JJ aliases --- modules/jj.nix | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/modules/jj.nix b/modules/jj.nix index 57e1c30..4cdc108 100644 --- a/modules/jj.nix +++ b/modules/jj.nix @@ -7,7 +7,17 @@ user.name = "Ɓukasz Niemier"; aliases = { + record = ["commit"]; + ci = ["commit"]; + rci = ["squash"]; lg = ["log"]; + tug = ["bookmark" "move" "--from" "closest_bookmark(@-)" "--to" "@-"]; + pull = ["git" "fetch"]; + push = ["git" "push" "--allow-new"]; + }; + + revset-aliases = { + "closest_bookmark(to)" = "heads(::to & bookmarks())"; }; git.write-change-id-header = true; @@ -35,14 +45,6 @@ diff.git(), ) ''; - - "--scope" = [ - { - "--when".repositories = ["~/Workspace/supabase/"]; - - user.email = "lukasz@supabase.io"; - } - ]; }; }; -- 2.51.2