Stacked diffs and ghstack

25/05/2021 12 min Episodio 16
Stacked diffs and ghstack

Listen "Stacked diffs and ghstack"

Episode Synopsis

What's a stacked diff? Why might you want to do it? What does the workflow for stacked diffs with ghstack look like? How to use interactive rebase to edit earlier diffs in my stack? How can you actually submit a stacked diff to PyTorch? What are some things to be aware of when using ghstack?Further reading.The ghstack repository https://github.com/ezyang/ghstack/A decent explanation of how the stacked diff workflow works on Phabricator, including how to do rebases https://kurtisnusbaum.medium.com/stacked-diffs-keeping-phabricator-diffs-small-d9964f4dcfa6