I needed to autogenerate some commits for a joke project and I ended up running this command about 30,000 times:
request = urllib.request.urlopen('https://whatthecommit.com/index.txt').read().decode('utf-8') message = request.rstrip().replace("\"", "'") os.system(f"git commit --allow-empty -m \"{count}\"")
My computer shut down in the middle of this.
Turns out I ran git commit --allow-empty -m "$(init 0)"
Lesson learned!
5/5 stars, repo works very well