dotnet-gitignore 1.3.0

dotnet tool install --global dotnet-gitignore --version 1.3.0
                    
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
                    
if you are setting up this repo
dotnet tool install --local dotnet-gitignore --version 1.3.0
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=dotnet-gitignore&version=1.3.0
                    
nuke :add-package dotnet-gitignore --version 1.3.0
                    

dotnet-gitignore

This is a simple dotnet tool that extends the dotnet cli to generate a .gitignore file for Visual Studio/.NET projects.

Purpose

I like to use the dotnet cli to create projects while working with VSCode and it bugged me that I need to track down a .gitignore file every time I wanted to create a new project.

What it Does

The tool downloads the official Visual Studio .gitignore from GitHub. It also caches a copy in your user profile folder in the event that you are offline.

Install

To install use the dotnet cli tool install command:

dotnet tool install -g dotnet-gitignore

This will install the tool globally. See this page for more information.

Note: You likely will need to restart your terminal to update your path before the dotnet gitignore command will work.

Usage

The tool installs as a dotnet cli extension and can be run using:

dotnet gitignore

Currently the tool only accepts a single argument: the path where to .gitignore should be generated. If no path is specified, then the current working directory is used.

dotnet gitignore ../

Update

dotnet tool update -g dotnet-gitignore

Uninstall

dotnet tool uninstall -g dotnet-gitignore
Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last Updated
1.3.0 1,024 12/21/2022
1.2.1 17,076 12/15/2019
1.2.0 739 12/12/2019
1.1.2 1,756 9/15/2018
1.1.1 1,064 9/15/2018
1.1.0 1,035 9/15/2018
1.0.2 1,004 9/14/2018
1.0.1 1,028 9/12/2018
1.0.0 1,017 9/12/2018

- Target dotnet 5, 6 and 7.
     - Remove support for dotnet core 2 and 3.
     - Update to use main branch instead of master.