Dotnet Modèle .gitignore
Standard Dotnet 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 Dotnet gitignore template from upstream github/gitignore collection
### Dotnet ##### A streamlined .gitignore for modern .NET projects## including temporary files, build results, and## files generated by popular .NET tools. If you are## developing with Visual Studio, the VS .gitignore## https://github.com/github/gitignore/blob/main/VisualStudio.gitignore## has more thorough IDE-specific entries.#### Get latest from https://github.com/github/gitignore/blob/main/Dotnet.gitignore # Build results[Dd]ebug/[Dd]ebugPublic/[Rr]elease/[Rr]eleases/x64/x86/[Ww][Ii][Nn]32/[Aa][Rr][Mm]/[Aa][Rr][Mm]64/bld/[Bb]in/[Oo]bj/[Ll]og/[Ll]ogs/ # .NET Coreproject.lock.jsonproject.fragment.lock.jsonartifacts/ # ASP.NET ScaffoldingScaffoldingReadMe.txt # NuGet Packages*.nupkg# NuGet Symbol Packages*.snupkg # dotenv environment variables file.env # Others~$**~CodeCoverage/ # MSBuild Binary and Structured Log*.binlog # MSTest test Results[Tt]est[Rr]esult*/[Bb]uild[Ll]og.* # NUnit*.VisualState.xmlTestResult.xmlnunit-*.xml Source brute de Dotnet .gitignore
Modèle officiel upstream explorable## A streamlined .gitignore for modern .NET projects## including temporary files, build results, and## files generated by popular .NET tools. If you are## developing with Visual Studio, the VS .gitignore## https://github.com/github/gitignore/blob/main/VisualStudio.gitignore## has more thorough IDE-specific entries.#### Get latest from https://github.com/github/gitignore/blob/main/Dotnet.gitignore # Build results[Dd]ebug/[Dd]ebugPublic/[Rr]elease/[Rr]eleases/x64/x86/[Ww][Ii][Nn]32/[Aa][Rr][Mm]/[Aa][Rr][Mm]64/bld/[Bb]in/[Oo]bj/[Ll]og/[Ll]ogs/ # .NET Coreproject.lock.jsonproject.fragment.lock.jsonartifacts/ # ASP.NET ScaffoldingScaffoldingReadMe.txt # NuGet Packages*.nupkg# NuGet Symbol Packages*.snupkg # dotenv environment variables file.env # Others~$**~CodeCoverage/ # MSBuild Binary and Structured Log*.binlog # MSTest test Results[Tt]est[Rr]esult*/[Bb]uild[Ll]og.* # NUnit*.VisualState.xmlTestResult.xmlnunit-*.xml Détail des règles clés
Artefacts de compilation
Ignore les binaires compilés, les fichiers objets intermédiaires et les dossiers de sortie générés lors de la compilation.
Variables d'environnement et secrets
Empêche la fuite de clés d'API, d'identifiants de bases de données et de fichiers de configuration locale.
Caches et fichiers temporaires
Ignore les caches des compilateurs, les rapports de couverture de tests et les fichiers de travail temporaires.
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.