diff --git a/modules/common/jujutsu.nix b/modules/common/jujutsu.nix index 05405ec..dbc973d 100644 --- a/modules/common/jujutsu.nix +++ b/modules/common/jujutsu.nix @@ -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()))";