jj icon indicating copy to clipboard operation
jj copied to clipboard

Add support for pushing stacked reviews to GitHub, GitLab, etc.

Open martinvonz opened this issue 3 years ago • 19 comments

Description

For users who prefer one review per commit (as we do in this project), it would be useful to have some support for pushing a stack of commits and have it automatically create (or reuse) PRs for each commit. In the case of GitHub, we should also set the base branch appropriately then. I don't know about GitLab or any other providers we would care about.

Maybe we'd want commands like jj github push and jj gitlab push or something like, to make it clear that they're specifically for those providers.

martinvonz avatar Aug 22 '22 16:08 martinvonz

I love this feature in Sapling and would love to see it in Jujutsu as well!

beatrixada avatar Mar 07 '24 20:03 beatrixada

git town propose have a similar feature where it would create a new pull request for the current branch and setting the base as the configured parent branch.

FirelightFlagboy avatar Mar 14 '24 07:03 FirelightFlagboy

See also https://github.com/ejoffe/spr

and @sunshowers's fork, which has experimental jj support https://github.com/sunshowers/spr

steveklabnik avatar Mar 25 '24 19:03 steveklabnik

Note that spr (and all other stacked diff tooling for GH, afaik) requires that you have push access to the repo you're proposing changes to.

sunshowers avatar Mar 25 '24 19:03 sunshowers