News for hackers. Stuff that matters.
Re:Why some of us like "interdiff" code review systems (not ... by mattpallissard on Wednesday September 11, 2024 @08:20PM (#41516470)
Oh, I don't know, I hardly consider myself super disciplined. It's just a matter of memorizing a command or two.

    git commit --fixup=commit HASH
    git rebase -i HASH^ #yes, include ^
    # save and close the rebase window that appears
    git push origin branch --force

edit, and you can re-word a commit with

    git commit --fixup=amend:HASH
Re:Why some of us like "interdiff" code review systems (not ... by tvaughan on Wednesday September 11, 2024 @09:06PM (#41516679)
I think the "hard part" for people is keeping commits focused on just one change. Commits should be crafted to help reviewers, but what I see mostly is a bunch of random commits that look more like a backup of each days progress.