Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Interactive option for av stack restack #409

Open
dhaus67 opened this issue Aug 30, 2024 · 1 comment
Open

Interactive option for av stack restack #409

dhaus67 opened this issue Aug 30, 2024 · 1 comment

Comments

@dhaus67
Copy link

dhaus67 commented Aug 30, 2024

Sometimes, when working with stacked PRs there might be commits which I want to squash / edit before pushing them to remote.

It would be nice if av stack restack would allow to also support to interactively rebase the commits on each branch and allow the usual suspects of squashing, editing commits etc.

Alternatively, the missing options could also be added to av stack reorder but the restack command feels like the more intuitive option to me comparing it to standard git operations.

@draftcode
Copy link
Contributor

I think that we can do the same check as --autosquash and prompt the user to do the squash. So it's like:

   Commits included in branch `feature-xyz` has an autosquash keyword.
   
   * Implement XYZ
   * amend!: fix a typo
   * amend!: regenerate autogen files
   
   Do you want to autosquash these commits? [y|n]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants