Skip to content
other8 reglas activasVerificado el 2026-09-30

Go.AllowList (Golang) Plantilla .gitignore

Standard Go.AllowList (Golang) gitignore template from upstream github/gitignore collection. Generada y fusionada de manera determinista con los patrones del repositorio oficial de GitHub para mantener tu proyecto libre de carpetas de dependencias, artefactos de build y archivos de entorno local.

Generador interactivo de stack

Abrir en el generador completo
Search for templates
Añadir rápido:
Seleccionadas1
Go.AllowList (Golang)
Plantillas seleccionadas (1)
.gitignore
8 reglas
### 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 líneas•UTF-8
Pipeline Determinista

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

Plantilla fuente oficial rastreable
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
!*/

Desglose de patrones clave

Reglas Principales de Exclusión

Patrones de exclusión esenciales definidos oficialmente para esta tecnología.

*!/.gitignore!*.go!go.sum!go.mod!README.md+2 más

Origen y verificación

Licencia:: CC0-1.0

Coloca este archivo en el directorio raíz de tu proyecto como .gitignore. Los cambios surtirán efecto en archivos nuevos o no rastreados.