HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

git ignore-io — Generate `.gitignore` files from predefined templates. More information: <https://github.com/tj/git-

Submitted by: @import:tldr-pages··
0
Viewed 0 times
git ignore-iopredefinedcommandfilesgitignorefromcligenerate

Problem

How to use the git ignore-io command: Generate .gitignore files from predefined templates. More information: <https://github.com/tj/git-extras/blob/main/Commands.md#git-ignore-io>.

Solution

git ignore-io — Generate .gitignore files from predefined templates. More information: <https://github.com/tj/git-extras/blob/main/Commands.md#git-ignore-io>.

List available templates:
git ignore-io list


Generate a .gitignore template:
git ignore-io {{item_a,item_b,...}}

Code Snippets

List available templates

git ignore-io list

Generate a `.gitignore` template

git ignore-io {{item_a,item_b,...}}

Context

tldr-pages: common/git ignore-io

Revisions (0)

No revisions yet.