Skip to content

Commit

Permalink
Add jj pl alias
Browse files Browse the repository at this point in the history
This should solve the common use case of advancing a bookmark to @-. From:
  jj-vcs/jj#2338 (comment)
  • Loading branch information
samhh committed Dec 20, 2024
1 parent d578f45 commit 9cb2267
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions home/vcs.nix
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,14 @@ in
"-r"
"(trunk()..@)::"
];
"pl" = [
"bookmark"
"move"
"--from"
"heads(::@- & bookmarks())"
"--to"
"@-"
];
"ps" = [
"git"
"push"
Expand Down

0 comments on commit 9cb2267

Please sign in to comment.