Skip to main content

All Questions

Tagged with
0 votes
2 answers
494 views

git commit miss, can't get it

I clone the 'Apache/tomcat' git repo to use some info about commit. However, when i use git.repo('repo local address').iter_commits(), i can't get some commits. Besides, I can't search these in github ...
wangsc's user avatar
  • 25
0 votes
0 answers
114 views

Release hash of a repo does not show in its "git log"

To mine repositories. I'm basically traversing its git commits to extracting info. However, in many repositories, I see that the hash of a release is not present in the git log. For example in ...
Rafed Muhammad Yasir's user avatar
0 votes
0 answers
488 views

How can I calculate commit size difference of each commit in python?

For example consider a git repository having 5 commits with size 1Mb, 2Mb, 2.5Mb, 3Mb and 2Mb at each of the commits. I wish to obtain the difference of each commit size in python. That is 1Mb, 1Mb, 0....
Tavish Jain's user avatar
2 votes
2 answers
2k views

How to amend the Git commit message through Python?

I have used subprocess.check_output to get the result of Git command but I can't think of a way how to update the commit message that we do with the command git commit -amend ?
Ciasto piekarz's user avatar