Skip to main content
Deno 2 is finally here 🎉️
Learn more

GitIgnore

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

demo

Install

deno install --unstable --allow-net --allow-read --allow-write https://deno.land/x/gitignore@v0.1.0/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

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

# see help for more
gitignore --help