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

.gitattributes — first lines
# 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-documentation

File details

Size
285 B (285 bytes)
MIME type
text/plain
SHA-256
440dbf1b5714ae2d5aeb9cb78bf94d925dc647a80eb62aa088d975080406d068
MD5
e9b9927607bdfd3a90c9e92701fb7d10

Download from the command line

curl -L -o .gitattributes https://files.samplefiles.com/config/gitattributes/.gitattributes

Or check the download in your browser with the checksum calculator.