Gitignore generator
This is a CLI tool for generating gitignores
Why I wrote this
Most commonly, when I start my project, my workflow looks like this
mkdir -p ~/dev/my-project
cd ~/dev/my-project
git init
touch .gitignore
# search github for gitignore file for the language/framework I'm using
# paste gitignore contents into file
This project aims to replicate those 2 manual steps with a simple command - for a Go project, for example:
gitignore generate go
Installation
The easiest way to install this package is to download a versioned release at the releases page
Building from source
Requires a working go
installation. This package was developed in go 1.12
, but should work with any decently recent version of go
.
go get -u github.com/emman27/gitignore
Supported keywords
The list of supported gitignores will grow based on usage. As of now, only the following keywords are supported for generation
go