gitnor
v1.0.5
Published
Generate .gitignore files directly from GitHub using a single npx command
Maintainers
Readme
gitnor
Instantly generate
.gitignorefiles for any programming language or framework using a singlenpxcommand.
What is this?
gitnor is a tiny command-line tool that fetches official .gitignore templates from the github/gitignore repo.
No installations. No bloat. Just run a single command with the language you want and you'll instantly have a .gitignore file in your project.
Usage
Use directly with npx — no installation required:
npx gitnor <language>
npx gitnor listExamples
Generate the file:
npx gitnor node
npx gitnor python
npx gitnor java
npx gitnor reactList all available languages/frameworks:
npx gitnor listFeatures
- Fetch the corresponding
.gitignorefile from GitHub - Create or overwrite
.gitignorein your current working directory - List all available languages/frameworks with
npx gitnor list
Note: This project uses .gitignore templates from the awesome github/gitignore repository maintained by GitHub.
Supports any template listed in the github/gitignore repo.
Want help with:
Adding support for multiple languages (e.g.,
npx gitnor node react)?)?
Auto-detecting tech in the current folder?
