Another great use-case for .gitattributes is to mark certain text files as binary. I do this with lock files and other machine-generated files which should be committed to the repo.
This way, when looking through diffs in the history, the staging area, or even on hosted Git platforms, these files no longer add to the noise.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Another great use-case for .gitattributes is to mark certain text files as binary. I do this with lock files and other machine-generated files which should be committed to the repo.
This way, when looking through diffs in the history, the staging area, or even on hosted Git platforms, these files no longer add to the noise.