๐ Fetch and manage `.gitignore` templates from GitHub with minimal effort
getignore is a simple, no-fuss command-line tool for fetching .gitignore templates from the official GitHub gitignore repository. Whether you're starting a new project or tidying up an old one, getignore lets you easily grab the right .gitignore file for your stack โ without digging through websites or typing out boilerplate.
-
Install Pipx (if you don't have it already)
-
Install
getignore3using Pipx:
pipx install getignore3usage: getignore [-h] [-L] [-l] [-n] [-c] [-o OUTPUT] [-w]
[template_name ...]
A tool to fetch and manage `.gitignore` templates from GitHub with minimal effort
positional arguments:
template_name Name(s) of gitignore templates to fetch
(e.g., Python, Node and etc.)
options:
-h, --help show this help message and exit
-L, --list-cached-templates
List cached gitignore templates
-l, --list-templates List available gitignore templates
-n, --no-cache Don't cache the gitignore template file when
downloaded
-c, --offline Get the cached gitignore template instead of
downloading
-o, --output OUTPUT Where to write the gitignore template
content to
-w, --override Override existing gitignore file instead of
appending
