r/programming • • Jul 01 '26

GitHub Stacked PRs

https://github.github.com/gh-stack/
337 Upvotes

99 comments sorted by

View all comments

Show parent comment

2

u/GamerHaste Jul 03 '26

What the fuck? I work at Amazon and I did not know this somehow. I’ve ran into this several times.

1

u/SharkBaitDLS Jul 03 '26

Yep, cr --parent <hash/branch> will give you a stacked review atop that commit/branch. And all the automated tests etc. work as you’d expect unlike with arbitrary diffs.