GitHub Stacked PR with JJ
go install github.com/lazywei/fj@latest
The fj
command will create a branch for each stacked commit, submit them, and create a Pull Request (PR). The body of the PR will be based on the commit message.
The fj
command will also push any new updates if you modify the commits; updated commit messages will also be reflected in PR description.
fj up
will run jj git fetch
and jj rebase -d main
and drop empty commits due to rebase