logoalt Hacker News

sameenkarimyesterday at 9:38 PM3 repliesview on HN

[dead]


Replies

dastbeyesterday at 10:33 PM

How does this work with a tool like jujutsu that provides native support for stacking and preferably don't have a separate tool mucking about with state?

show 2 replies
jlebaryesterday at 10:14 PM

It's a matter of taste, but I much prefer the workflow in the tool I hacked together for this, https://github.com/jlebar/git-pr-chain.

In the tool I wrote, you have a single branch with linear history. PRs in the chain are demarcated via commit messages. You then don't need any special rebase / sync commands -- you can use regular `git rebase -i` to reorder commits or edit a commit in the middle of a stack. Literally the only special command I need is "push this branch to github as multiple PRs".

Anyway I hope that alongside the branch-based you've built tool in `gh` that there will be an API that I can target.

show 1 reply
calebioyesterday at 9:47 PM

Any idea if/when this would be coming to GHE? I know the release cycle is way different but curious about your thoughts.

show 1 reply