code.gitea.io/gitea@v1.21.7/options/gitignore/Go.AllowList (about) 1 # Allowlisting gitignore template for GO projects prevents us 2 # from adding various unwanted local files, such as generated 3 # files, developer configurations or IDE-specific files etc. 4 # 5 # Recommended: Go.AllowList.gitignore 6 7 # Ignore everything 8 * 9 10 # But not these files... 11 !/.gitignore 12 13 !*.go 14 !go.sum 15 !go.mod 16 17 !README.md 18 !LICENSE 19 20 # !Makefile 21 22 # ...even if they are in subdirectories 23 !*/