A simple command-line tool to quickly fetch and copy .gitignore files from the official github/gitignore repository into your current project directory.
- Go to the Releases page.
- Download the appropriate
.zipor.tar.gzfile for your system.
If you have Go (1.18 or higher needed) installed and prefer to build from source, you can use go install:
go install github.com/moritz-tiesler/igor@latest
To copy a .gitignore file for a specific language or framework, simply provide its name as an argument:
igor Go
# Copies Go.gitignore to .gitignore in your current directory
igor Python
# Copies Python.gitignore to .gitignore
igor Node
# Copies Node.gitignore to .gitignoreIf you're unsure of the exact name or want to see all options, use the --list flag:
igor --list