diff options
Diffstat (limited to 'jj.nix')
| -rw-r--r-- | jj.nix | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -15,6 +15,9 @@ in { diff-formatter = ":git"; pager = ":builtin"; }; + revesets-aliases = { + "immutable_heads()" = "trunk()"; + }; aliases = { wk = ["log" "-r" "trunk()::@ | @::"]; gp = ["git" "push" "--allow-new"]; @@ -25,6 +28,8 @@ in { track = ["util" "exec" "--" "bash" "-c" "jj bookmark set $(jj log -r @ -T 'self.change_id()' --no-graph)"]; tug = ["bookmark" "move" "--from" "heads(::@- & bookmarks())" "--to" "@-"]; nm = ["new" "-r" "trunk()"]; + up = ["edit" "@+"]; + down = ["edit" "@-"]; }; templates = { log = "builtin_log_compact"; |
