diff options
| -rw-r--r-- | .gitattributes | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes index 24a8e879..710a2b95 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1 +1,12 @@ +# LFS configuration for images from the wiki *.png filter=lfs diff=lfs merge=lfs -text + +# Exclude LFS-tracked files from the tarball +/wiki/img/ export-ignore + +# exclude .gitattributes itself from the tarball +.gitattributes export-ignore + +# tip: can be tested using +# git archive --format=tar.gz --output=source.tar.gz HEAD && \ +# tar tfvz source.tar.gz | grep -e '.png' -e '.gitattributes' |
