Skip to main content

All Questions

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