/gitignore

Small command-line utility for adding new entries to .gitignore

Primary LanguageTypeScriptGNU General Public License v3.0GPL-3.0

GitIgnore

Small command-line utility that adds new entries to your .gitignore

using the search feature

Requirements

Compatibility

  • ✅ Linux
  • ✅ Windows
  • ❌ MacOS (not tested)

Install

deno install --unstable --allow-env --allow-net --allow-read --allow-write https://deno.land/x/gitignore/mod.ts

Usage

# add new files (if a .gitignore does not exist, it will be created)
gitignore node_modules/ "*.out" "*.o"

# list available languages/frameworks
gitignore -s

# or just get the template for a language
gitignore -l rust

# supports pipes
curl -fLw '\n' https://www.gitignore.io/api/node | gitignore -v

# see help for more
gitignore --help