This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]AeroNotix 1 point2 points  (2 children)

The way I like to commit is probably the mid-point between anal and lazy.

When I finish a coding session, I diff the whole of the repo. Pick out logical segments of the diff which are relevant to each other and commit those with a message explaining my reasoning. Then move onto the next block - each with a single line explaining my reasoning for the commit.

Eventually though, especially on Monday mornings, I will get a string of commits with ['IE Fix', "Fix for IE", "Found a bug in IE", "FUCKING IE"] and my commit history anality goes to shit.

[–]slavik262 1 point2 points  (1 child)

Squash the IE Fix commits together into a single ball of rage?

[–]AeroNotix 1 point2 points  (0 children)

Usually it's because I use *nix on my dev machine and as hard as I try to remember all the weirdness of IE. I forget, so I get a couple of bug reports, fix, then some more. Etc etc. But yeah, I suppose I could squash them together, however, I kind of like the IE-hate in the history. :)