Vecerdi.GitInit 1.1.1

dotnet tool install --global Vecerdi.GitInit --version 1.1.1                
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 Vecerdi.GitInit --version 1.1.1                
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=Vecerdi.GitInit&version=1.1.1                
nuke :add-package Vecerdi.GitInit --version 1.1.1                

Vecerdi.GitInit

Nuget (with prereleases)

A .NET tool to initialize a git repository

Installation

dotnet tool install -g Vecerdi.GitInit

Building and installing from source

git clone https://github.com/TeodorVecerdi/Vecerdi.GitInit
cd Vecerdi.GitInit
dotnet pack -c Release
dotnet tool install -g --add-source ./nupkg Vecerdi.GitInit

Usage

Requires the following tools to also be installed:

$ gitinit --help

Description:
  Initialize a git repository

Usage:
  gitinit [options]

Options:
  -a, --accept-defaults                  Accept all defaults
  -i, --ignores <ignores>                Comma-separated list of ignores to add to .gitignore
  -I, --no-gitignore                     Do not create a .gitignore file
  -l, --license <license>                License type (SPDX identifier)
  -L, --no-license                       Do not create a LICENSE file
  -m, --commit-message <commit-message>  Commit message
  -M, --no-commit                        Do not commit the initial commit
  -A, --dont-add-all                     Do not add all files to the initial commit
  -d, --dry-run                          Do not actually run any commands
  --version                              Show version information
  -?, -h, --help                         Show help and usage information
Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible. 
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.1.1 85 10/13/2024
1.0.0 250 11/27/2022

Initial release.