+ 2

Git Commit Messages

Hello, I always write commit messages for every small change I make in my code. Sometimes, I add new lines in the code file, and sometimes I remove some spaces. I don't know how to label these changes. Is there any way to let Git ignore such changes in the code? If yes, is it recommended to ignore blank lines and spaces? If not, how can I label these changes in the commit messages? Is It okay to say "add blank lines" or 'remove spaces' Looking for your answers. Thanks

19th Nov 2019, 8:56 AM
N. A.
N. A. - avatar
1 Answer
+ 2
Git commit message plays an important role in the project. So I will suggest you follow this practice. https://chris.beams.io/posts/git-commit/#separate It will be very helpful.
19th Nov 2019, 4:08 PM
Dilji
Dilji - avatar