Closed vck3000 closed 3 weeks ago
Generally you accomplish this by rebasing. An interactive rebase will allow you to edit a given commit or re-order commits arbitrarily (as long as the resulting merge conflicts are resolved). It will also allow insertion of new commits at any point in the stack. Once the rebase is performed, stack-pr submit
will update any existing PRs on GitHub, as well as create new ones, to reflect the changes made to your local branch.
@AmaranthineCodices's answer is on point, and I'm going to close this issue. Please feel free to file more issues with questions/bugs/feature requests!
Great, thank you. I will have a read!
Hi there,
Nice project!
Simple question, but could you provide some examples on how you would amend a previous commit, and how you would rearrange commits/add new ones?
In my current workflow, for a particular PR, I would simply push new commits, so I'm not sure the best way to amend something in the past.
Thanks!