BlackHoleGalaxy BlackHoleGalaxy - 1 year ago 79
Git Question

Semantic git message and cleaning

In one of my node code, I must do some cleaning. For example removing unused

functions or comments placed here during dev/debugging phase by my coworker.

I try to follow some semantic git message rules, for cleaning, as mentioned here.

For example deleting useless console.log or debugging stuff like:

console.log('Starting app.js');

What kind of git message type should I use? Certainly not
as it's not a new feature. I'd go maybe with

Answer Source

I'd go with chore, since this will not change the way the "production" code work.

This is not a feature, not a bugfix, not a style change... so this is kind of a default choice, but it seems right.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download