Skip to content
other8 aktive RegelnGeprüft am 2026-09-30

Go.AllowList (Golang) .gitignore Vorlage

Standard Go.AllowList (Golang) gitignore template from upstream github/gitignore collection. Deterministisch mit Mustern des offiziellen GitHub-Repositorys zusammengeführt, um dein Projekt sauber von Abhängigkeitsordnern, Build-Artefakten und lokalen Umgebungsvariablen zu halten.

Interaktiver Stack-Generator

Im vollständigen Generator öffnen
Search for templates
Schnell hinzufügen:
Ausgewählt1
Go.AllowList (Golang)
Ausgewählte Vorlagen (1)
.gitignore
8 Regeln
### 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 Zeilen•UTF-8
Deterministische Pipeline

Quellcode: Go.AllowList (Golang) .gitignore

Crawlbare offizielle Upstream-Vorlage
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
!*/

Wichtige Ausschlussmuster im Überblick

Wichtige Ausschlussmuster

Zentrale Ausschlussregeln für diese Technologie.

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

Herkunft & Lizenzprüfung

Lizenz:: CC0-1.0

Platziere diese Datei unter dem Namen .gitignore im Stammverzeichnis deines Projekts. Die Änderungen greifen sofort für alle neuen und nicht getrackten Dateien.