News for hackers. Stuff that matters.
Re:Splitting a Git Commit by bonzini on Tuesday August 18, 2026 @01:29PM (#49349234)
Or the opposite direction, with repeated "git checkout -p ..." and commit steps. Slightly less comfortable because you have to figure out (such as from "git rebase --edit-todo") the later commit, but it makes testing the pieces easier.
Re:Splitting a Git Commit by svyatoslavpavl on Wednesday August 19, 2026 @04:17PM (#49366633)
hadn't thought of building forward like that. being able to test each slice before committing beats finding out after the rebase that half of them don't compile. thanks, stealing this