other8 active rulesVerified 2026-09-30
Go.AllowList (Golang) .gitignore Template
Standard Go.AllowList (Golang) gitignore template from upstream github/gitignore collection. Generated and merged deterministically with upstream GitHub repository patterns to keep your repository clean of package directories, temporary build artifacts, and local environment files.
Interactive Stack Generator
Preconfigured with Go.AllowList (Golang)/
Search for templates
Quick add:
Selected1
Go.AllowList (Golang)
Selected Templates (1)
Go.AllowList (Golang)
other
Standard Go.AllowList (Golang) gitignore template from upstream github/gitignore collection
#golang-goallowlist#go.allowlist
.gitignore
8 rules•1 template
Notice:
Pattern '*' ignores everything in the repository. Verify intentionality.
Pattern '/.gitignore' targets Git internals or .gitignore itself. This is prohibited.
### 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 lines•UTF-8•LF
Deterministic
Raw Go.AllowList (Golang) .gitignore
Crawlable upstream source templategolang-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!*/ Key Pattern Breakdown
Core Ignored Rules
Primary upstream ignore rules defined for this technology.
*!/.gitignore!*.go!go.sum!go.mod!README.md+2 more
Source & Verification
Source: GitHub gitignore (main)
License: CC0-1.0
Place this file in the root directory of your project as .gitignore. Changes take effect on newly added or untracked files.