ignore-gen

阅读时长 3 分钟读完

Generating .gitignore with one-line command

gig

A CLI tool that simply generate specific .gitignore template downloaded from gitignore list

Install

  • using NPM
  • or

Usage

Setup

templates fetching required before generating:

Or using proxy:

Basic Use

  • create a .gitignore file at cwd: gig g <template>, e.g: gig g node
  • output to stdout: gig g node -s

useful with piping: gig g node -s > a.txt

More

see gig -h or gig <command> -h

-- -------------------- ---- -------
------ --- --------- ---------
--------
  --- ---------  ------ --- ------- ------
  --- ------     ------ ----- -----------
---------
  -------- ---------          ----- - ------ ------ ---------
  ------                      ---- --- --------- ---------- --------
  ----- --------- ----------  -------- ---------- ---- --------- --------
  -------                     ----- ------ ---------

HomePage

https://github.com/MegrezZhu/gig#readme

Repository

git+https://github.com/MegrezZhu/gig.git

来源:JavaScript中文网 ,转载请注明来源 https://www.javascriptcn.com/post/6005642681e8991b448e1547

纠错
反馈