/getignore

Fetch gitignore files for your projects right from the command line

Primary LanguageGoApache License 2.0Apache-2.0

getignore

Build and Test

getignore is a command-line utility to fetch .gitignore files from Github's Gitignore repository.

Start your new projects right, by including a .gitignore file from the very beginning!

Usage

Interactive

Run getignore search:

interactive-search

Non-interactive

  • Run getignore get <gitignore-filename> (eg. getignore get Node.gitignore).
  • getignore will find the file with the matching name and append its contents to your .gitignore file

Installation

macOS

Use Homebrew:

  1. Add the getignore tap to your Homebrew installation:
brew tap haroldadmin/getignore
  1. Install getignore:
brew install getignore

Other

You can find pre-compiled binaries for popular platforms on the Releases page.

Building from source

Automated Release Publication

There are open issues for making getignore available as pre-compiled binaries and also with various package managers automatically on every release.

Contributions

getignore is a very small side-project, and I would continue to maintain it in my free time. If you would like to lend a hand by adding new features or fix bugs, feel free to open issues or pull requests.

License

See License.