Git Commit Messages | SoloLearn: Learn to code for FREE!

+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

git

11/19/2019 8:56:57 AM

N. A.

1 Answer

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