开发者

How do I count how many files deleted from GIT repo?

I am new to GIT. In BK, when user "bk rm" files, they are sitting in the deleted area. I can count how many files have been deleted by users. How do I count the user-deleted files in GIT? I did "git status":

=>> git status

On branch master

nothing to commit (working directory clean)

Thank开发者_如何学Gos.

Albert


 git-ls-files --deleted

should do the trick. If you just want a count, you can

| grep -c
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜