This commit is contained in:
2026-11-06 18:56:26 -05:00
commit e1adedc32d
2 changed files with 39 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
# 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
!/.dockerignore
!*.go
!go.sum
!go.mod
!README.md
!LICENSE
!/templates/*.html
# !Makefile
# ...even if they are in subdirectories
!*/