paule96.DotNetTemplate.GitIgnore

With this dotnet new Template you can add .gitignore to your project.


Keywords
git, gitignore, dotnet, template, new
License
MIT
Install
Install-Package paule96.DotNetTemplate.GitIgnore -Version 21.251.1

Documentation

dotnet new GitIgnoreTemplate

NuGet downloads NuGet version

.NET Core template which adds .gitgnore files to your project.

Template Build .gitignore Updates Nuget.org Release
Build status Build status Release Status to nuget.org

Getting Started

Install and Run the Template

To use the template you need to install the corresponding NuGet package on your system.

dotnet new -i paule96.DotNetTemplate.GitIgnore
  1. Get a list of available .gitignore templates
dotnet new ignore --help
  1. Add .gitignore to your project (where -ig is the gitignore file of your choice)
dotnet new ignore -ig VisualStudio

Build the template

Follow theese steps to buidl the template from scratch on your own.

  1. Open this project in VSCode and run the "Build Template" command from the launch.json.

  2. Add the build result as template to your dotnet cli:

dotnet new -i .\src\paule96.DotNetTemplate.GitIgnore.Build\bin\paule96.DotNetTemplate.GitIgnore\

License

This project is licensed under the MIT License - see the LICENSE file for details