feat(jj): add jj tug

This commit is contained in:
2026-01-09 14:07:12 +08:00
parent 3313dfc89b
commit cb3578bb0d

View File

@@ -21,6 +21,16 @@ in
programs.jujutsu = {
enable = true;
settings = {
# take the closest ancestor bookmark and move them the current change.
# https://shaddy.dev/notes/jj-tug
aliases.tug = [
"bookmark"
"move"
"--from"
"heads(::@- & bookmarks())"
"--to"
"@-"
];
user = {
name = userfullname;
email = emails.default;