about summary refs log tree commit diff stats
path: root/.gitignore
blob: 2932e476a440089137eaf0a1b7a33b4480edd146 (plain)
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
# 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

!.envrc
!justfile
!*.nix
!*.toml
!/flake.lock

!/content/**/*.md
!/static/**/*
!/templates/*

# ...even if they are in subdirectories
!*/