gitnr
Share on:
Enter Your Mastodon Instance
Copy the link below to share to Mastodon
https://terminaltrove.com/gitnr/
A CLI / TUI to generate .gitignore files using templates.
cargo install gitnr
gitnr is a CLI and a TUI tool for generating .gitignore
files using pre-built templates. It pulls templates from popular sources like GitHub and Toptal, allowing you to create or combine multiple templates.
Core features of this tool includes filtering duplicate lines, using local or remote template files and an interactive search mode with a terminal user interface with keyboard navigation and helpful shortcuts at the bottom of the TUI. Typing gitnr search
launches the TUI, but if you prefer the CLI approach, a command such as gitnr create Node
would instantly create a node .gitignore
template for you.
This tool is best used for when you need to quickly generate a standard or custom .gitignore
file for any project setup that uses Git for version control. This tool is also cross platform across major platforms like Windows, macOS, and Linux.