You'll think about this discussion the next time it happens again on a nez git repo you've just created.
Why is adding a .gitignore line a problem you ask, but then someone could ask why is committing those .DS_store files a problem in the first place… In both cases the problem is that you are adding garbage unrelated to the project.