DEV Community


Discussion on: How I Write Source Control Commit Messages

felipe1982 profile image
Felipe Alvarez • Edited

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

Readme: add install instructions

_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

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.

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).

rachelsoderberg profile image
Rachel Soderberg Author

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