2021年3月30日星期二

can't get git commit after 4d58e4c about ffserver.c file

I want to get the full revision history of one file, and I use git log -- filepath command. However, the result isn't complete.

enter image description here

As the picture above, the last commit about ffserver.c is 4d58e4c. But from github file history, there are many commits after 4d58e4c. You can check this link to see.

enter image description here

So, how to get these commits using git command or python code and why I can't get the full revision history.

Thanks.

Ps.I use git log -1 ffserver.c to just show the latest commit (Fig 1). However, as the github revision history (Fig 2), the git command result(commit 4d58e4c) isn't the latest commit, there are many commits after this commit, such as 094a496 in Fig 2. I want to know why it happens and how i can get the commits after this commit.

https://stackoverflow.com/questions/66880459/cant-get-git-commit-after-4d58e4c-about-ffserver-c-file March 31, 2021 at 09:30AM

没有评论:

发表评论