列出完整提交历史记录

Sim*_*ang 2 git

我理解的语法git log.我正在尝试编译存储库中所有提交的列表,其唯一目的是显示我必须在最终代码中添加的工作量(听起来很愚蠢,我知道,但我已经有非技术受众将版本控制视为奇迹); 最终我计划将其格式化为一个漂亮的LaTeX列表.我怎样才能做到这一点?

Von*_*onC 5

目前最好的方式是展示你的贡献是使用IonicaBizau/git-stats:

https://camo.githubusercontent.com/be233aefaee218732226d289a1dc1fd13764f342/687474703a2f2f692e696d6775722e636f6d2f4c664c4a4161452e706e67

例子:

git-stats # Displays your commit calendar
git-stats -v
git-stats -h
git-stats --light # Light mode
git-stats -s '1 January 2012' # All the commits from 1 January 2012, to now
git-stats -s '1 January 2012' -u '31 December 2012' # All the commits from 2012
Run Code Online (Sandbox Code Playgroud)