mirror of
https://github.com/samsonjs/config.git
synced 2026-06-26 05:09:37 +00:00
Add jj up alias that fetches and runs jj new
This commit is contained in:
parent
680c5f03a9
commit
c4ed1888cb
1 changed files with 4 additions and 0 deletions
|
|
@ -37,6 +37,10 @@ bookmark-advance-to = "(@ ~ empty()) | (@ & empty())-"
|
|||
"behind_trunk()" = "bookmarks() ~ ::trunk() ~ trunk()::"
|
||||
|
||||
[aliases]
|
||||
# Fetch from git, then start fresh work on top of the named bookmark.
|
||||
# Usage: jj up main
|
||||
up = ["util", "exec", "--", "bash", "-c", 'jj git fetch && jj new "$1"', "jj-up"]
|
||||
|
||||
# Compact log of your open work.
|
||||
wip = ["log", "-r", "open()"]
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue