我想查看给定“目录”的所有提交,并在给定日期之后,在Github中查看。我已经阅读过Github文档和"path“和”have“参数。https://developer.github.com/v3/repos/commits/#list-commits-on-a-repository
但是,我不能在Github上看到他们。“既然”参数似乎不适用于Github。示例:https://github.com/torvalds/linux/commits?path=Documentation&since=2016-04-04T16:00:49Z
你知道我怎么能做到这一点吗?
谢谢,莱蒂西亚
发布于 2016-04-25 18:01:47
编辑:
发布于 2016-04-25 20:05:50
你可以用这两种方法:
git log -- path/ --since="date"或者这个来检查文件历史记录
git log -- path/myfile.txt --since="date"在github,你必须这样做:
https://github.com/torvalds/linux/commits/master@{date}/Documentation就你的具体例子而言:
https://github.com/torvalds/linux/commits/master@{2016-04-04T16:00:49Z}/Documentationhttps://stackoverflow.com/questions/36847513
复制相似问题