diff options
author | Alan Pearce | 2024-05-11 20:04:42 +0200 |
---|---|---|
committer | Alan Pearce | 2024-05-11 20:04:42 +0200 |
commit | 9b3aa4deea69f922519312106bc4834d3be392af (patch) | |
tree | 1dc120c89b45d7d893149a5d38f9be0c47b2fd16 /.gitignore | |
parent | a5321156dca61e5ba6c5678fc8db888ded209383 (diff) | |
download | website-9b3aa4deea69f922519312106bc4834d3be392af.tar.lz website-9b3aa4deea69f922519312106bc4834d3be392af.tar.zst website-9b3aa4deea69f922519312106bc4834d3be392af.zip |
invert .gitignore
Diffstat (limited to '.gitignore')
-rw-r--r-- | .gitignore | 48 |
1 files changed, 23 insertions, 25 deletions
diff --git a/.gitignore b/.gitignore index 2932e47..314d81e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,31 +1,29 @@ -# 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 -* +# Created by https://www.toptal.com/developers/gitignore/api/go +# Edit at https://www.toptal.com/developers/gitignore?templates=go -# But not these files... -!.gitignore +### Go ### +# If you prefer the allow list template instead of the deny list, see community template: +# https://github.com/github/gitignore/blob/main/community/Golang/Go.AllowList.gitignore +# +# Binaries for programs and plugins +*.exe +*.exe~ +*.dll +*.so +*.dylib -!*.go -!go.sum -!go.mod +# Test binary, built with `go test -c` +*.test -!README.md -!LICENSE +# Output of the go coverage tool, specifically when used with LiteIDE +*.out -!.envrc -!justfile -!*.nix -!*.toml -!/flake.lock +# Dependency directories (remove the comment below to include it) +vendor/ -!/content/**/*.md -!/static/**/* -!/templates/* +# Go workspace file +go.work -# ...even if they are in subdirectories -!*/ +# End of https://www.toptal.com/developers/gitignore/api/go +/netlify/.netlify/ +/website/ |