get-gitignore

1.0.0 • Public • Published

get-gitignore

Download a .gitignore template for a given language or framework.

Installation

npm install --global get-gitignore

Usage

get-gitignore <name>, where name is the name of a language or framework listed in https://github.com/github/gitignore/.

Git alias

Add the following to your .gitconfig:

[alias]
    ignore = "!f() { get-gitignore ${1} }; f"

Then, run git ignore <name> to download a .gitignore template.

/get-gitignore/

    Package Sidebar

    Install

    npm i get-gitignore

    Weekly Downloads

    1

    Version

    1.0.0

    License

    MIT

    Last publish

    Collaborators

    • tbroadley