<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def do_commit_amends(self):
 """ Amends the Commit to form the heart """

        commit_cumalative_count = 0
        for days in MARKED_DAYS:
            amend_date = (
                self.end_date - datetime.timedelta(days)).strftime("%Y-%m-%d %H:%M:%S")
            for commit_number_in_a_day in xrange(0, self.max_commits):
                commit_cumalative_count += 1
                subprocess.check_call(
                    ['git', 'commit', '--amend', "--date='<" + amend_date + " + 0530 >' ", '-C',
                     'HEAD~{commit_number}'.format(commit_number=commit_cumalative_count)], cwd=self.repository_name)
                subprocess.check_call(
                    ['git', 'pull', '--no-edit'], cwd=self.repository_name)
                subprocess.check_call(
                    ['git', 'push', 'origin', 'master'], cwd=self.repository_name)