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

Add omni stack command #261

Open
XaF opened this issue Dec 6, 2023 · 0 comments
Open

Add omni stack command #261

XaF opened this issue Dec 6, 2023 · 0 comments
Labels

Comments

@XaF
Copy link
Owner

XaF commented Dec 6, 2023

Among the helper git tooling that omni provides, we could add a builtin stack command to handle pull request stacking properly for github stuff.

Commands could be, as suggested by @swgillespie:

  • omni stack create -> git branch <some branch> -> git commit
  • omni stack create -a -> git branch <some branch> -> git add -a -> git commit
  • omni stack submit -> creates or updates PRs for every branch in your stack
  • omni stack amend -> git commit --amend, but done in an interactive rebase to preserve the stack, automatically re-shuffles the branches for downstream commits in the stack
  • omni stack land -> land a stack, each PR is landed one-by-one and we rely on github's auto branch retargeting to work correctly. does not play well with merge queues.

This can be inspired from:

@XaF XaF added the enhancement New feature or request label Dec 6, 2023
@XaF XaF added idea and removed enhancement New feature or request labels Mar 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant