LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

git-ignore-io

Generate gitignore from templates

TLDR

Generate gitignore for language
$ git ignore-io [Python]
copy
Generate for multiple types
$ git ignore-io [Python] [macOS] [vim]
copy
Append to .gitignore in current directory
$ git ignore-io -a [Python] [vim]
copy
Replace .gitignore in current directory
$ git ignore-io -r [Python] [macOS]
copy
List available templates in table format
$ git ignore-io -l
copy
Search templates
$ git ignore-io -s [node]
copy

SYNOPSIS

git ignore-io [options] templates

DESCRIPTION

git ignore-io generates .gitignore content from gitignore.io templates. It fetches curated ignore patterns for languages, frameworks, IDEs, and operating systems via the gitignore.io API.Multiple templates can be combined in a single request for comprehensive coverage. Part of the git-extras suite, it provides quick command-line access to the extensive gitignore.io template database.

PARAMETERS

TEMPLATES

Template names from gitignore.io.
-a, --append TYPES
Append new content to .gitignore under current directory.
-r, --replace TYPES
Replace .gitignore in current directory with new content.
-l, --list-in-table
List available templates in table format.
-L, --list-alphabetically
List available templates alphabetically.
-s, --search WORD
Search for a word in available types.
-t, --show-update-time
Show the last modified time of the cached type list.
-u, --update-list
Update the cached type list.
--help
Display help information.

CAVEATS

Part of git-extras package. Requires network access. Templates may need customization.

HISTORY

git ignore-io is part of git-extras, providing command-line access to gitignore.io, the web service for generating gitignore files.

SEE ALSO

Copied to clipboard
Kai