-
Notifications
You must be signed in to change notification settings - Fork 200
Open
Description
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
katietheqt-old, hatkidchan, notcancername, imeesa, bcollard and 1 moreNotNite, lilysoftpaws, Semisol, Paddyk45, griffi-gh and 3 more
Metadata
Metadata
Assignees
Labels
No labels