Bash script uses gh CLI to open patch stack(github.com)
github.com
Bash script uses gh CLI to open patch stack
https://github.com/allen-munsch/gh-bashpatchstack
2 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.
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
There's a nice article here: https://jg.gg/2018/09/29/stacked-diffs-versus-pull-requests/