Yes. I expected this coming.. but I did not know how to revert/not commit such changes that are not significant. 
I shall be careful :)
All I do is: git commit -a -m "my comments"