Instantly generate a tailored
.gitignorefor any tech stack using gitignore.io.
- Supports all languages, frameworks, and tools listed on gitignore.io
- Appends or overwrites existing
.gitignore - Backs up your current
.gitignorebefore changes - Fast, dependency-free (just needs
curlandbash) - Help and usage info built in
Make it executable:
chmod +x genignore.shGenerate a new .gitignore for Python, Node, and Visual Studio Code:
./genignore.sh python,node,visualstudiocodeShow help:
./genignore.sh --helpWhat does it do? Fetches the best practice .gitignore from gitignore.io based on your keywords
Backs up your old .gitignore to .gitignore.bak
Overwrites or appends as you wish
Supported Keywords Browse all supported platforms and keywords here: https://www.toptal.com/developers/gitignore
./genignore.sh python,django,linux,macos