Skip to content

Instantly share code, notes, and snippets.

@rynkowsg
Created October 16, 2021 23:36
Show Gist options
  • Save rynkowsg/f02f06fa0efee10c4de2c126f0d207a1 to your computer and use it in GitHub Desktop.
Save rynkowsg/f02f06fa0efee10c4de2c126f0d207a1 to your computer and use it in GitHub Desktop.
.gitattributes for Git LFS
#################################################
#### audio files
*.m4a filter=lfs diff=lfs merge=lfs -text
*.mp3 filter=lfs diff=lfs merge=lfs -text
*.ogg filter=lfs diff=lfs merge=lfs -text
*.wav filter=lfs diff=lfs merge=lfs -text
### audio editor files
#*.aup filter=lfs diff=lfs merge=lfs -text
*.au filter=lfs diff=lfs merge=lfs -text
#################################################
#### documents
*.pdf filter=lfs diff=lfs merge=lfs -text
*.doc filter=lfs diff=lfs merge=lfs -text
*.docx filter=lfs diff=lfs merge=lfs -text
*.xls filter=lfs diff=lfs merge=lfs -text
*.xlsx filter=lfs diff=lfs merge=lfs -text
#################################################
#### fonts
*.bmf filter=lfs diff=lfs merge=lfs -text
*.eot filter=lfs diff=lfs merge=lfs -text
*.otf filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.woff filter=lfs diff=lfs merge=lfs -text
*.woff2 filter=lfs diff=lfs merge=lfs -text
#################################################
#### icons
*.icns filter=lfs diff=lfs merge=lfs -text
*.ico filter=lfs diff=lfs merge=lfs -text
#################################################
#### images
*.jpeg filter=lfs diff=lfs merge=lfs -text
*.jpg filter=lfs diff=lfs merge=lfs -text
*.gif filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.webp filter=lfs diff=lfs merge=lfs -text
*.svg filter=lfs diff=lfs merge=lfs -text
#################################################
#### diagrams
*.drawio* filter=lfs diff=lfs merge=lfs -text
#################################################
#### libraries
*.a filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
#################################################
#### JS lock files
package-lock.json filter=lfs diff=lfs merge=lfs -text
yarn.lock filter=lfs diff=lfs merge=lfs -text
#################################################
#### compiled translations (.mo files)
*.mo filter=lfs diff=lfs merge=lfs -text
#################################################
#### videos
*.mp4 filter=lfs diff=lfs merge=lfs -text
#################################################
#### certificates & keystores
*.jks filter=lfs diff=lfs merge=lfs -text
*.bks filter=lfs diff=lfs merge=lfs -text
*.pfx filter=lfs diff=lfs merge=lfs -text
*.p12 filter=lfs diff=lfs merge=lfs -text
*.key filter=lfs diff=lfs merge=lfs -text
*.crt filter=lfs diff=lfs merge=lfs -text
#################################################
#### archives
*.7z filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
#################################################
#### app binaries
*.apk filter=lfs diff=lfs merge=lfs -text
#################################################
#### minimized JS & CSS
*.min.js filter=lfs diff=lfs merge=lfs -text
*.min.css filter=lfs diff=lfs merge=lfs -text
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment