An open API service indexing awesome lists of open source software.

https://github.com/roaldnefs/gitignore

A tool for downloading .gitignore templates.
https://github.com/roaldnefs/gitignore

github gitignore go golang

Last synced: 11 months ago
JSON representation

A tool for downloading .gitignore templates.

Awesome Lists containing this project

README

          


gitignore





Latest release version


GitHub - License


GitHub Workflow Status


GitHub contributors


gitignore is a tool for downloading `.gitignore` templates.


Download Latest Release »


Report Bug
·
Request Feature

## Introduction

A tool for downloading `.gitignore` templates.

* [Installation](README.md#installation)
* [Binaries](README.md#binaries)
* [Via Go](README.md#via-go)
* [Usage](README.md#usage)

## Installation

### Binaries

For installation instructions from binaries please visit the [Releases Page](https://github.com/roaldnefs/gitignore/releases).

### Via Go

```console
$ go install github.com/roaldnefs/gitignore@latest
```

## Usage

```console
$ gitignore --help
Gitignore will create a new .gitignore file in the current working
directory.

Example: gitignore Python -> resulting in a new .gitignore file for Python.

Usage:
gitignore [language name] [flags]

Flags:
-g, --global Search globally useful gitignores
-h, --help help for gitignore

$ gitignore go
.gitignore created at /home/roald/go/src/github.com/roaldnefs/gitignore/.gitignore
```