Skip to content

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

License

Notifications You must be signed in to change notification settings

lucasig11/gitignore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Topics

Resources

License

Stars

Watchers

Forks