# -*- coding: utf-8 -*-
from git import *

repo = Repo("~/commitAnalyze/ant")
with open("antSha.csv", mode='w') as f:
  for item in repo.iter_commits('master', max_count=1000000):
    if len(item.parents) == 1:
      f.write(item.hexsha+"\n")

556362769c19033b10d31fa4750aec95571cb0de
<mask token>

<mask token>
with open('antSha.csv', mode='w') as f:
    for item in repo.iter_commits('master', max_count=1000000):
        if len(item.parents) == 1:
            f.write(item.hexsha + '\n')

<mask token>
repo = Repo('~/commitAnalyze/ant')
with open('antSha.csv', mode='w') as f:
    for item in repo.iter_commits('master', max_count=1000000):
        if len(item.parents) == 1:
            f.write(item.hexsha + '\n')

from git import *
repo = Repo('~/commitAnalyze/ant')
with open('antSha.csv', mode='w') as f:
    for item in repo.iter_commits('master', max_count=1000000):
        if len(item.parents) == 1:
            f.write(item.hexsha + '\n')

# -*- coding: utf-8 -*-
from git import *

repo = Repo("~/commitAnalyze/ant")
with open("antSha.csv", mode='w') as f:
  for item in repo.iter_commits('master', max_count=1000000):
    if len(item.parents) == 1:
      f.write(item.hexsha+"\n")
