Skip to content
other8 regras ativasVerificado em 2026-09-30

Go.AllowList (Golang) Modelo de .gitignore

Standard Go.AllowList (Golang) gitignore template from upstream github/gitignore collection. Gerado e mesclado de forma determinística com os padrões oficiais do GitHub para manter seu repositório livre de pastas de pacotes, artefatos de compilação e arquivos de ambiente local.

Gerador interativo de stack

Abrir no gerador completo
Search for templates
Adicionar rápido:
Selecionados1
Go.AllowList (Golang)
Modelos selecionados (1)
.gitignore
8 regras
### Go.AllowList (Golang) ###
# 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
# !Makefile
# ...even if they are in subdirectories
!*/
25 linhas•UTF-8
Pipeline Determinístico

Código bruto de Go.AllowList (Golang) .gitignore

Modelo oficial original rastreável
golang-goallowlist.gitignore•24 lines•UTF-8
# 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
# !Makefile
# ...even if they are in subdirectories
!*/

Detalhamento de padrões essenciais

Regras principais ignoradas

Regras oficiais de exclusão definidas para esta tecnologia.

*!/.gitignore!*.go!go.sum!go.mod!README.md+2 adicionais

Origem e verificação

Licença:: CC0-1.0

Coloque este arquivo na raiz do seu projeto com o nome .gitignore. As alterações passam a valer para arquivos novos ou não rastreados.