Re:The Theatre of Pull Requests and Code Review
by t-writescode on Thursday September 25, 2025 @11:35AM
(#45374069)
To add, when I’m breaking my changes down into multiple parts for review, I tend to:
The squashing part is vital because otherwise you enter merge conflict hell with the rebase.
[ Parent
| on HN ]
Re:The Theatre of Pull Requests and Code Review
by m000 on Thursday September 25, 2025 @07:33PM
(#45380687)
How about:
* squash into one commit
* git reset HEAD~1
* git add -p
* git commit -m commit1
* repeat until no changes are left
* add any file deletions/additions
I use this because you can have several commits marked e.g. "commit1". Then you make a final interactive rebase to squash them together.