Automatically generate .gitignore files based on project analysis.
- 🔍 Smart Detection - Automatically detects project technologies by scanning files
- 🌐 GitHub Templates - Fetches official gitignore templates from GitHub
- 🦀 Cross-Platform - Works on Linux, Windows, and macOS
- ⚡ Fast - Written in Rust for maximum performance
| Technology | Detection Method |
|---|---|
| Rust | Cargo.toml |
| Go | go.mod |
| Node.js | package.json |
| Python | requirements.txt, pyproject.toml |
| Java | pom.xml, .java files |
| Maven | pom.xml |
Windows (PowerShell):
iwr https://github.com/AriajSarkar/gitignore-gen/raw/master/scripts/install.ps1 -useb | iexLinux / macOS:
curl -fsSL https://github.com/AriajSarkar/gitignore-gen/raw/master/scripts/install.sh | bashIf you have Rust installed:
cargo install --git https://github.com/AriajSarkar/gitignore-gen# Generate .gitignore in current directory
gitignore-gen- Scan - Analyzes your project directory for technology markers
- Detect - Identifies languages and frameworks from file patterns
- Match - Finds templates from embedded github/gitignore collection
- Generate - Combines templates and writes
.gitignore
Contributions are welcome! Please read our Contributing Guide for details.
gitignore-gen uninstallThis will automatically remove the binary from your system.
Licensed under either of:
at your option.