Git ignore
sondr3/git-ignore
- GitHub
- Rust
- Automatic matching !
- Uses templates from TopTal (www.gitignore.io)
- Config:
~/.config/git-ignore/
Do you have a package.json and Cargo.toml in the current directory?
--autowill automatically add node and rust to the template output.
Install (beware, the AUR package lacks behind !):
pamac install git-ignore
Usage
Update cache:
git ignore -u
List templates:
git ignore --list
Output auto-matching .gitignore template:
git ignore -a -w
Issues: Doesn't work, git ignore -a always prints the usage.
gitnr
- GitHub
- Rust
- Create
.gitignorefiles using one or more templates from TopTal (www.gitignore.io), GitHub or your own collection - Interactive selection TUI
Install:
pamac install gitnr-bin
Interactive usage:
gitnr search
ignr
- GitHub
- Rust
- Can merge different templates
gitignore.io
- gitignore.io website
- GitHub
- Simplify Your Project Setup with Gitignore.io
- Stale, last commit 2024-12
- Collection of community .gitignore files
- Can only handle one template, no merging
Setup a custom function:
gi () {
curl -sLw "\n" "https://www.toptal.com/developers/gitignore/api/$@"
}
Usage
List available templates:
gi list
Use the node gitignore template:
gi node > .gitignore
Other
- github/gitignore
- Only templates, no cli tool
- ignoreit
- Can only handle one template, no merging
- Rust
- sondr3/git-ignore
- Uses templates from gitignore.io
- gibo
- Can only handle one template, no merging
- downjack
- Interactive selection tool
- Can only handle one template, which gets appended to
an existing
.gitignorefile
- gitignore-downloader
- Can only handle one template, which gets appended to
an existing
.gitignorefile
- Can only handle one template, which gets appended to
an existing