with-staged:在git暂存文件上运行命令(如linting)

时间:2024-05-20 00:53:18
【文件属性】:

文件名称:with-staged:在git暂存文件上运行命令(如linting)

文件大小:6KB

文件格式:ZIP

更新时间:2024-05-20 00:53:18

JavaScript

分阶段 在git暂存文件上运行命令(如linting) -- 安装 npm install with-staged 用法 with-staged [PATTERNS] -- Run a command on git staged files. PATTERNS - only run COMMAND for files matching one of the PATTERNS globs. When no PATTERNS are given, run COMMAND on all staged files. COMMAND - the command to execute. File names of matching files are appended as separate arguments. Ex


【文件预览】:
with-staged-master
----.travis.yml(87B)
----index.js(1KB)
----package.json(1KB)
----test()
--------index.js(3KB)
----bin.js(1KB)
----LICENSE.md(628B)
----.gitignore(526B)
----CHANGELOG.md(381B)
----.npmrc(19B)
----README.md(3KB)

网友评论