← 返回命令列表

Linux command

git-ignore-io 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Generate gitignore for language

git ignore-io [Python]

Generate for multiple types

git ignore-io [Python] [macOS] [vim]

Append to .gitignore

git ignore-io -a [Python] [vim]

Replace .gitignore

git ignore-io -r [Python] [macOS]

List available templates

git ignore-io -l

Search templates

git ignore-io -s [node]

说明

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.

参数

-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.

FAQ

What is the git-ignore-io command used for?

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.

How do I run a basic git-ignore-io example?

Run `git ignore-io [Python]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -a, --append _TYPES_ do in git-ignore-io?

Append new content to .gitignore under current directory.