The art of deleting code
summary
Describes a repeatable process that actually removed 50,000 lines of Ruby code at work, using concrete tools: git blame, git log --follow, git bisect to find when and why lines stopped being used, plus static analysis and running code coverage in development to spot dead paths. Emphasizes small, focused commits, stash workflow, and commit messages that cite the exact introducing and removing SHAs so reviewers can verify the deletion.
AI-written summary · about
chapters (11)
- 0:00Start
- 8:56Git Show
- 9:56Git Log
- 11:42Git Commit
- 12:00Good Commit Message
- 13:31Keep this Commit Small
- 14:44Git Stash
- 16:59Code Coverage
- 20:40Git Bisect
- 24:09A Good Commit Message
- 25:40Thank the Committee








