Skip to content

Latest commit

 

History

History
24 lines (15 loc) · 1.03 KB

File metadata and controls

24 lines (15 loc) · 1.03 KB

A Collection of Useful .gitattributes Templates

Similarly to the .gitignore Templates, we're trying to build templates for .gitattributes.

Common.gitattributes contains general exclusions that may apply to any project. Consider including them if they are applicable to your project.

Please contribute by forking and sending a pull request.

Also please only modify one file per commit. This'll make merging easier for everyone.

For more information on gitattributes: gitattributes(5)

From https://stackoverflow.com/questions/19411981/images-corrupt-after-git-push

running git check-attr --all -- path/to/png before and after adding the new gitattributes showed that the image file was originally treated as a text file, and now it's binary (note I had to commit/push the .gitattributes file for it to take effect on remote)