mirror of
https://github.com/RGBCube/ncc
synced 2025-07-28 18:47:44 +00:00
feat: update jj tug alias
This commit is contained in:
parent
76aadcddbc
commit
5584412695
1 changed files with 3 additions and 2 deletions
|
@ -49,9 +49,10 @@ in {
|
|||
aliases.d = [ "diff" ];
|
||||
aliases.l = [ "log" ];
|
||||
|
||||
aliases.tug = [ "bookmark" "move" "--from" "closest_bookmark(@-)" "--to" "@-" ];
|
||||
aliases.tug = [ "bookmark" "move" "--from" "closest(@-)" "--to" "closest_pushable(@)" ];
|
||||
|
||||
revset-aliases."closest_bookmark(to)" = "heads(::to & bookmarks())";
|
||||
revset-aliases."closest(to)" = "heads(::to & bookmarks())";
|
||||
revset-aliases."closest_pushable(to)" = "heads(::to & mutable() & ~description(exact:\"\") & (~empty() | merges()))";
|
||||
|
||||
revsets.log = "present(@) | present(trunk()) | ancestors(remote_bookmarks().., 2) | reachable(@, all())";
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue