← 返回命令列表

Linux command

gitnr 命令

文本

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

常用示例

Create

gitnr

Create

gitnr rust

Create

gitnr rust python node

List

gitnr --list

说明

gitnr creates .gitignore files using templates from the GitHub gitignore repository. It supports hundreds of templates for different languages, frameworks, and tools. The tool fetches templates from GitHub's official gitignore repository and combines multiple templates when needed.

参数

-l, --list
List all available templates
-s, --search _QUERY_
Search for templates
-a, --append
Append to existing .gitignore
-o, --output _FILE_
Output to specific file
-f, --force
Overwrite existing file
-v, --version
Display version and exit
-h, --help
Display help and exit

FAQ

What is the gitnr command used for?

gitnr creates .gitignore files using templates from the GitHub gitignore repository. It supports hundreds of templates for different languages, frameworks, and tools. The tool fetches templates from GitHub's official gitignore repository and combines multiple templates when needed.

How do I run a basic gitnr example?

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

What does -l, --list do in gitnr?

List all available templates