Go.AllowList (Golang) Modèle .gitignore
Standard Go.AllowList (Golang) gitignore template from upstream github/gitignore collection. Généré et fusionné de manière déterministe avec les règles officielles de GitHub pour préserver votre dépôt des répertoires de dépendances, artefacts de compilation et fichiers de configuration locale.
Générateur interactif de stack
Ouvrir dans le générateur completStandard Go.AllowList (Golang) gitignore template from upstream github/gitignore collection
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!*/ Source brute de Go.AllowList (Golang) .gitignore
Modèle officiel upstream explorable# 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!*/ Détail des règles clés
Règles d'Exclusion Principales
Règles d'exclusion officielles et fondamentales définies pour cette technologie.
Origine et vérification
Placez ce fichier dans le répertoire racine de votre projet sous le nom .gitignore. Les modifications s'appliquent aux fichiers nouveaux ou non suivis.