From dd136858f1ea40ad3c94191d647487fa4f31926c Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 18 Oct 2024 20:33:49 +0200 Subject: Adding upstream version 9.0.0. Signed-off-by: Daniel Baumann --- options/gitignore/Go.AllowList | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 options/gitignore/Go.AllowList (limited to 'options/gitignore/Go.AllowList') diff --git a/options/gitignore/Go.AllowList b/options/gitignore/Go.AllowList new file mode 100644 index 0000000..a309a01 --- /dev/null +++ b/options/gitignore/Go.AllowList @@ -0,0 +1,23 @@ +# Allowlisting gitignore template for GO projects prevents us +# from adding various unwanted local files, such as generated +# files, developer configurations or IDE-specific files etc. +# +# Recommended: Go.AllowList.gitignore + +# Ignore everything +* + +# But not these files... +!/.gitignore + +!*.go +!go.sum +!go.mod + +!README.md +!LICENSE + +# !Makefile + +# ...even if they are in subdirectories +!*/ -- cgit v1.2.3