我想在 gitub 上监控我的 repo,所以我尝试使用gitstats来查看一些统计信息,比如更改了多少代码。我将 gitstats 添加到我的存储库中,但之后我不确定如何实际创建 html 文件。
当我在 Windows 应用程序甚至 cmd 上使用来自 github 的 shell 时,当我尝试运行 gitstats、./gitstats、$./gitstats 时,它们都不起作用。
gitstats 目前不需要安装;它直接从目录中使用(它还假设一些文件,如样式表在 .)
假设您在 /mnt/src/git/project 有一个 git 项目,并且您希望将统计信息保存到 ~/public_html/project
你会运行: $ ./gitstats /mnt/src/git/project ~/public_html/project (如果它是一个大项目,去喝杯咖啡:) $ sensible-browser ~/public_html/project/index.html
即使我尝试 gitstats 安装文件中的东西,它也不起作用。
知道我该如何解决这个问题吗?谢谢