Config Files · 1 file
Sample .gitattributes File
.gitattributes sets line endings, binary handling and Git LFS per path. Our sample is realistic and valid for its tool, with fake hosts and secrets.
.gitattributes · 285 B
.gitattributes
A .gitattributes normalizing line endings, marking binaries, configuring Git LFS for media and hiding generated files from diffs. All hosts, keys and secrets are fake.
CC0 · free for any use · Verified by an independent tool · Report a problem
# Sample .gitattributes — samplefiles.com
* text=auto eol=lf
*.bat text eol=crlf
*.png binary
*.jpg binary
*.pdf binary
*.mp4 filter=lfs diff=lfs merge=lfs -text
*.psd filter=lfs diff=lfs merge=lfs -text
package-lock.json linguist-generated=true -diff
docs/** linguist-documentationFile details
Download from the command line
curl -L -o .gitattributes https://files.samplefiles.com/config/gitattributes/.gitattributeswget https://files.samplefiles.com/config/gitattributes/.gitattributeshttps://files.samplefiles.com/config/gitattributes/.gitattributesprintf '%s %s\n' 440dbf1b5714ae2d5aeb9cb78bf94d925dc647a80eb62aa088d975080406d068 .gitattributes | shasum -a 256 -cOr check the download in your browser with the checksum calculator.