I want to get the full revision history of one file, and I use git log -- filepath
command. However, the result isn't complete.
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.
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.
没有评论:
发表评论