This commit is contained in:
Tao Tien 2025-03-06 17:44:40 -08:00
parent a34a37b45b
commit 4ae2d653e8
3 changed files with 9 additions and 3 deletions

View file

@ -32,6 +32,10 @@ alias js = jj status
alias jw = jj workspace update-stale
def jm [-r: string = "@"] {
mut r = $r
if (jj log -r @ --no-pager --no-graph --template 'if(empty,"empty")' | $in == "empty") {
$r = "@-"
}
jj bookmark set main -r $r
jj git push
}