.gitignore
and .gitattributes
for Godot 4.0 projects that use Git for version control. .gitattributes
is configured to tell Git to version a number of popular binary file formats through LFS when available.
– hmans
# Normalize EOL for all files that Git considers text files. | |
* text=auto eol=lf | |
# 3D models | |
*.3dm filter=lfs diff=lfs merge=lfs -text | |
*.3ds filter=lfs diff=lfs merge=lfs -text | |
*.blend filter=lfs diff=lfs merge=lfs -text | |
*.c4d filter=lfs diff=lfs merge=lfs -text | |
*.collada filter=lfs diff=lfs merge=lfs -text | |
*.dae filter=lfs diff=lfs merge=lfs -text | |
*.dxf filter=lfs diff=lfs merge=lfs -text | |
*.fbx filter=lfs diff=lfs merge=lfs -text | |
*.jas filter=lfs diff=lfs merge=lfs -text | |
*.lws filter=lfs diff=lfs merge=lfs -text | |
*.lxo filter=lfs diff=lfs merge=lfs -text | |
*.ma filter=lfs diff=lfs merge=lfs -text | |
*.max filter=lfs diff=lfs merge=lfs -text | |
*.mb filter=lfs diff=lfs merge=lfs -text | |
*.obj filter=lfs diff=lfs merge=lfs -text | |
*.ply filter=lfs diff=lfs merge=lfs -text | |
*.skp filter=lfs diff=lfs merge=lfs -text | |
*.stl filter=lfs diff=lfs merge=lfs -text | |
*.ztl filter=lfs diff=lfs merge=lfs -text | |
# Audio | |
*.aif filter=lfs diff=lfs merge=lfs -text | |
*.aiff filter=lfs diff=lfs merge=lfs -text | |
*.it filter=lfs diff=lfs merge=lfs -text | |
*.mod filter=lfs diff=lfs merge=lfs -text | |
*.mp3 filter=lfs diff=lfs merge=lfs -text | |
*.ogg filter=lfs diff=lfs merge=lfs -text | |
*.s3m filter=lfs diff=lfs merge=lfs -text | |
*.wav filter=lfs diff=lfs merge=lfs -text | |
*.xm filter=lfs diff=lfs merge=lfs -text | |
# Fonts | |
*.otf filter=lfs diff=lfs merge=lfs -text | |
*.ttf filter=lfs diff=lfs merge=lfs -text | |
# Images | |
*.bmp filter=lfs diff=lfs merge=lfs -text | |
*.exr filter=lfs diff=lfs merge=lfs -text | |
*.gif filter=lfs diff=lfs merge=lfs -text | |
*.hdr filter=lfs diff=lfs merge=lfs -text | |
*.iff filter=lfs diff=lfs merge=lfs -text | |
*.jpeg filter=lfs diff=lfs merge=lfs -text | |
*.jpg filter=lfs diff=lfs merge=lfs -text | |
*.pict filter=lfs diff=lfs merge=lfs -text | |
*.png filter=lfs diff=lfs merge=lfs -text | |
*.psd filter=lfs diff=lfs merge=lfs -text | |
*.tga filter=lfs diff=lfs merge=lfs -text | |
*.tif filter=lfs diff=lfs merge=lfs -text | |
*.tiff filter=lfs diff=lfs merge=lfs -text |
# Godot 4+ specific ignores | |
/.godot/ | |
# Export artefacts | |
/_export/ | |
# Temporary files we don't want to version-control | |
*.blend1 | |
.DS_Store |