News for hackers. Stuff that matters.
Re:Turning off syntax highlighting by qznc on Sunday November 06, 2016 @02:36PM (#12886656)
Don't you always have commits chains like "add debug printfs" "fix bug" "remove debug printfs"?
Re:Turning off syntax highlighting by manicdee on Sunday November 06, 2016 @03:39PM (#12886916)
That's a scenario for branch-then-cherrypick :)

Branch, write test to expose bug, add debug aids, fix bug, switch branch, cherry pick the test & fix, delete debug branch.

Re:Turning off syntax highlighting by majewsky on Sunday November 06, 2016 @07:00PM (#12887851)
Or just `git rebase -i origin/master` and delete the unnecessary commits without additional branching.
Re:Turning off syntax highlighting by pYQAJ6Zm on Monday November 07, 2016 @05:47AM (#12890126)
I have these in my WIP branches. When I’m ready to merge, I squash out some of the smaller commits, and then merge without fast-forward. Reduces noise and keeps a clear history of groups of work, at the expense of very cheap branching and local rebasing operations.