【文件属性】:
文件名称:git-fullstatus:将未修改的文件添加到git status --porcelain的输出中
文件大小:4KB
文件格式:ZIP
更新时间:2021-05-21 00:26:27
Shell
完全状态
一个Bash脚本,显示“未修改”文件以及git status --porcelain修改文件。 这是通过结合status --porcelain和ls-files命令来实现的。
安装
将git-fullstatus复制到PATH某个位置。
用法
在git仓库中:
$ git-fullstatus
M some/file
D another/file
D more/files/blahblah
A this/is/an/added/file/i/think
an/unchanged_file
another/unchanged_file
$ _
输出格式
输出使用与git status --porcelain相同的格式。 未修改的文件与 (双倍空格)为XY 。 有关详细信息,请参见git help status。
测验
需要进行以运行测试。
只需cd到包含
【文件预览】:
git-fullstatus-master
----git-fullstatus-test.sh(4KB)
----git-fullstatus(1KB)
----.gitignore(2KB)
----README.md(1KB)