Hacker News new | past | comments | ask | show | jobs | submit login
Bash script uses gh CLI to open patch stack (github.com/allen-munsch)
3 points by allen-munsch on Aug 27, 2022 | hide | past | favorite | 4 comments



Is this something like Gerrit for GitHub?


sort of, but without the commit lineage requirements? I haven't used Gerrit.

It's currently a few lines, looks for the branches and commits based on some strings, and prepares a bash script to run the gh cli to open PRs that are chained/stacked together. Was looking at these for reference.

- https://jg.gg/2018/09/29/stacked-diffs-versus-pull-requests/ - https://github.com/arxanas/git-branchless - https://cli.github.com/manual/gh_pr - https://github.com/arxanas/git-branchless/discussions/45 - https://github.com/stacked-git/stgit/ - https://stackoverflow.com/questions/26619478/are-dependent-p... - https://gist.github.com/Jlevyd15/66743bab4982838932dda4f13f2...

And was hoping for something simple-ish.


What is a patch stack? sorry noob git user here





Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: