4 ms·
Bash script uses gh CLI to open patch stack
- Lacerda69 4y agoWhat is a patch stack? sorry noob git user here
- allen-munsch 4y agoThere's a nice article here: https://jg.gg/2018/09/29/stacked-diffs-versus-pull-requests/ https://jg.gg/2018/09/29/stacked-diffs-versus-pull-requests/
- verdverm 4y agoIs this something like Gerrit for GitHub?
- allen-munsch 4y agosort 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://jg.gg/2018/09/29/stacked-diffs-versus-pull-requests/ - https://github.com/arxanas/git-branchless https://github.com/arxanas/git-branchless - https://cli.github.com/manual/gh_pr https://cli.github.com/manual/gh_pr - https://github.com/arxanas/git-branchless/discussions/45 https://github.com/arxanas/git-branchless/discussions/45 - https://github.com/stacked-git/stgit/ https://github.com/stacked-git/stgit/ - https://stackoverflow.com/questions/26619478/are-dependent-pull-requests-in-github-possible https://stackoverflow.com/questions/26619478/are-dependent-p... - https://gist.github.com/Jlevyd15/66743bab4982838932dda4f13f2bd02a https://gist.github.com/Jlevyd15/66743bab4982838932dda4f13f2... And was hoping for something simple-ish.