Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/git/25.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/github/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Git 本地回购中两次承诺之间的检查_Git_Github_Range_Git Log - Fatal编程技术网

Git 本地回购中两次承诺之间的检查

Git 本地回购中两次承诺之间的检查,git,github,range,git-log,Git,Github,Range,Git Log,如何在提交日志中显示过去两次提交之间的提交? 我发现 但是我不能理解参考资料/其他。 有人能给我讲清楚吗 我发现,例如,如果我想在最后3次和第4次提交之间检查,这就是命令 git log头^2-2git log将一系列提交作为参数,因此您可以执行git log commit1..commit2检查这个问题:我只想看到没有diif的日志,但谢谢您需要澄清您的问题。你写道:我如何显示两次提交之间的提交[…]你是指两次提交之间的差异吗?@Jubobs:不,只有日志那么,你的问题是什么?仍然不清楚…一个

如何在提交日志中显示过去两次提交之间的提交? 我发现

但是我不能理解参考资料/其他。 有人能给我讲清楚吗

我发现,例如,如果我想在最后3次和第4次提交之间检查,这就是命令
git log头^2-2

git log将一系列提交作为参数,因此您可以执行git log commit1..commit2

检查这个问题:我只想看到没有diif的日志,但谢谢您需要澄清您的问题。你写道:我如何显示两次提交之间的提交[…]你是指两次提交之间的差异吗?@Jubobs:不,只有日志那么,你的问题是什么?仍然不清楚…一个简单的问题:如果不使用长字符串commit,is如何指示commit1和commit23e63c4d92b46b88a04073d3f524d12dc0ae0f2aa@AliSaberi引用提交的方法有多种,而不是通过它们的完整散列,所有这些都在ProGit手册的以下部分中进行了解释:。读一下。