← 返回命令列表

Linux command

gibo 命令

文本

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

常用示例

List available boilerplates

gibo list

Combine multiple boilerplates to stdout

gibo dump [Python] [macOS] [VisualStudioCode]

Search boilerplates by substring

gibo search [node]

Append a boilerplate to your .gitignore

gibo dump [Python] >> .gitignore

Update the locally cached boilerplate repository

gibo update

Show where boilerplates are stored on disk

gibo root

说明

gibo (gitignore boilerplates) generates .gitignore files from community-maintained templates hosted in GitHub's official gitignore repository. It provides templates for languages, frameworks, IDEs, and operating systems. Multiple boilerplates can be combined in a single command. The tool caches templates locally for offline use and supports searching by name.

参数

dump _NAMES_...
Write the named boilerplates to standard output, separated by headers. Names are matched case-insensitively against templates from github.com/github/gitignore.
list
List all available boilerplates, grouped by category.
search _STR_
List boilerplates whose names contain _STR_.
update
Fetch the latest boilerplates from the upstream repository.
root
Print the directory where gibo stores its local clone of the boilerplate repository.
version
Print the current gibo version.
help
Display help text.

FAQ

What is the gibo command used for?

gibo (gitignore boilerplates) generates .gitignore files from community-maintained templates hosted in GitHub's official gitignore repository. It provides templates for languages, frameworks, IDEs, and operating systems. Multiple boilerplates can be combined in a single command. The tool caches templates locally for offline use and supports searching by name.

How do I run a basic gibo example?

Run `gibo list` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does dump _NAMES_... do in gibo?

Write the named boilerplates to standard output, separated by headers. Names are matched case-insensitively against templates from github.com/github/gitignore.