Dotnet Modelo de .gitignore
Standard Dotnet gitignore template from upstream github/gitignore collection. Gerado e mesclado de forma determinística com os padrões oficiais do GitHub para manter seu repositório livre de pastas de pacotes, artefatos de compilação e arquivos de ambiente local.
Gerador interativo de stack
Abrir no gerador completoStandard 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 Código bruto de Dotnet .gitignore
Modelo oficial original rastreável## 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 Detalhamento de padrões essenciais
Artefatos de compilação e build
Ignora binários compilados, arquivos de objetos intermediários e diretórios de saída gerados durante a compilação.
Variáveis de ambiente e segredos
Impede o vazamento de chaves de API, senhas de banco de dados e arquivos de configuração de ambiente local.
Cache e arquivos temporários
Ignora caches de compiladores, dados de cobertura de testes e arquivos de rascunho temporários.
Origem e verificação
Coloque este arquivo na raiz do seu projeto com o nome .gitignore. As alterações passam a valer para arquivos novos ou não rastreados.