]> git.ozlabs.org Git - ppp.git/commitdiff
.gitattributes to exclude .git* files from git-archive. (#539)
authorJaco Kroon <jaco@uls.co.za>
Mon, 30 Dec 2024 03:47:21 +0000 (05:47 +0200)
committerGitHub <noreply@github.com>
Mon, 30 Dec 2024 03:47:21 +0000 (14:47 +1100)
This relates to #519 and addresses the portion where "we can also
exclude things like /.github/ from the release".

Signed-off-by: Jaco Kroon <jaco@uls.co.za>
.gitattributes [new file with mode: 0644]

diff --git a/.gitattributes b/.gitattributes
new file mode 100644 (file)
index 0000000..834c029
--- /dev/null
@@ -0,0 +1,2 @@
+# Exclude .git* files from being exported.
+.git* export-ignore