.gitignore (view raw)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | # 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 !/.editorconfig !/.envrc.sample !/README.md !/LICENSE !/justfile !/config.toml !/nix !*.nix !/.golangci.yaml !/go.sum !/go.mod !/gomod2nix.toml !*.go !*.tmpl !*.js !/frontend # ...even if they are in subdirectories !*/ |