Add git-archive export options


Add .gitattributes, no export for .gitattributes and .gitignore
Add .tag file to store the sha1 of the commit being packaged

Pick-to: 6.5
Change-Id: I84c0042c4ed6657da9cb791a76287381762de4cd
Reviewed-by: Kaj Grönholm <kaj.gronholm@qt.io>
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
commit5b4a031f0995b934e2d81d8c0031209844ee0f8e
parentdc974f19ffc92cf8b7e44d27907b7e17c18e6ee7
authorAntti Kokko <antti.kokko@qt.io>
committerAntti Kokko <antti.kokko@qt.io>
commit timeMon, 3 Apr 2023 12:55:42 +0300