Add a .gitattributes file and populate it with initial export-ignore attributes

This  change allows  developers to  easily create  a sanitized  source
archive for example:

git archive --format=tar --prefix=wsjtx-2.0.0/ wsjtx-2.0.0-rc1 | gzip >wsjtx-2.0.0-rc1.tgz

Which creates  a sources  tarball called wsjtx-2.0.0-rc1.tgz  from the
wsjtx-2.0.0-rc1 tag (substitute HEAD or a branch name or even a commit
SHA for other contents).
This commit is contained in:
Bill Somerville 2018-09-14 20:18:36 +01:00
parent e180f9fae8
commit 42101fa565
2 changed files with 3 additions and 4 deletions

3
.gitattributes vendored Normal file
View File

@ -0,0 +1,3 @@
.gitattributes export-ignore
/samples export-ignore
/lib/fsk4hf export-ignore

View File

@ -1,4 +0,0 @@
.git
sources.exclude
samples
lib/fsk4hf