1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-07-27 18:17:44 +00:00

jujutsu: add undo alias

This commit is contained in:
RGBCube 2025-06-08 18:10:03 +03:00
parent 85019a5bd7
commit 9e9cb7e522
Signed by: RGBCube
SSH key fingerprint: SHA256:CzqbPcfwt+GxFYNnFVCqoN5Itn4YFrshg1TrnACpA5M

View file

@ -63,6 +63,8 @@ in {
aliases.tug = [ "bookmark" "move" "--from" "closest(@-)" "--to" "closest_pushable(@)" ];
aliases.t = [ "tug" ];
aliases.u = [ "undo" ];
revset-aliases."closest(to)" = "heads(::to & bookmarks())";
revset-aliases."closest_pushable(to)" = "heads(::to & ~description(exact:\"\") & (~empty() | merges()))";