DEV Community

loading...

Discussion on: How I Write Source Control Commit Messages

Collapse
felipe1982 profile image
Felipe Alvarez • Edited

Prepend commits with the file or component which it is affecting.

Readme: add install instructions

Collapse
_rice_salad profile image
Rhys S

In git, there are commands to see what files a commit changed - to me, prepending files names seems unnecessary

Collapse
colorcodedcode profile image
Robert Schaap

We did this at my last job as well. Either the filename or if it's multiple the source of the changes. It makes for a much easier to read git history / merge request.

Collapse
jnareb profile image
Jakub Narębski

I agree with the component / subsystem - the file is just a special case of that (of a very small component).

Collapse
rachelsoderberg profile image
Rachel Soderberg Author

Visual Stuido Team Explorer shows them as well, but this makes sense for ones that dont!