小编λq_*_*λq_的帖子

git diff 在一个裸仓库上

我想看看上个月 gitlab 服务器端的 repo 变化了多少

cd /path/to/my/bare/repo.git/
git --git-dir . diff --shortstat "@{1 month ago}"
fatal: Unable to read log 'logs/refs/heads/master': No such file or directory
Run Code Online (Sandbox Code Playgroud)

但是它在本地结帐工作分支中工作正常。

有没有办法在没有太多麻烦的情况下做到这一点?

为了避免 XY 问题:我想通过 Gitlab 服务器上的数百个存储库运行统计数据

git git-diff git-log

5
推荐指数
1
解决办法
2241
查看次数

标签 统计

git ×1

git-diff ×1

git-log ×1