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

An alias to make one-off PRs easily and efficiently #34

Open
grepsedawk opened this issue Mar 28, 2022 · 0 comments
Open

An alias to make one-off PRs easily and efficiently #34

grepsedawk opened this issue Mar 28, 2022 · 0 comments

Comments

@grepsedawk
Copy link
Owner

  1. stage files to PR on any branch as staged changes
  2. fetch
  3. checkout origin/main
  4. checkout -b $1
  5. (if the staged tree got reset, stage the intended files/diffs)
  6. git commit, bring me into vim
  7. gh pr create (don't even worry about pushing the branch, this does it for me)
  8. checkout the branch I was on before
  9. Optionally, offer the ability to cherry pick or move the new files to the old branch
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

1 participant