6 ms·
Fix-ups are nice. I developed a script that takes the all staged content and breaks them up into separate fix-ups that fixup the last commit that changed those
by cerved 5y ago
Fix-ups are nice. I developed a script that takes the all staged content and breaks them up into separate fix-ups that fixup the last commit that changed those lines. I find it pretty handy
- karl42 5y agoThat sounds much like git absorb. See https://github.com/tummychow/git-absorb https://github.com/tummychow/git-absorb
- cerved 5y agothanks I didn't know about that maybe, but it's probably much simpler. It's just a small bash script that runs git blame twice for each line in the index and creates a fixup per commit found