Comment on JJ Cheat SheetparentComments−KingMob1yThere's no succinct command designed to work with mailed patches yet, but you could mimic it with a little scripting.Maybe something like this?``` for patch_file in "$@"; do jj new patch -p1 < "$patch_file" author=$(extract_author "$patch_file") commit_message=$(extract_commit_message "$patch_file") jj describe -m "$commit_message" --author "$author" done ```
Comments
There's no succinct command designed to work with mailed patches yet, but you could mimic it with a little scripting.
Maybe something like this?
``` for patch_file in "$@"; do jj new
done ```