Untitled
unknown
plain_text
2 years ago
707 B
4
Indexable
UPDATE: Código para rodar commits automatizados e nada suspeitos com Python import subprocess import time import random def make_the_commit(commit_number): subprocess.call(['git', 'add', f'src/{commit_number}_challenge.sql']) subprocess.call(['git', 'commit', '-m', f'Made the task {commit_number}.']) subprocess.call(['git', 'push']) print("Starting the commits...") for i in range(2, 31): # Make each commit in a random time between 5 and 10 minutes. time.sleep(random.randint(300, 600)) # Make that i always has 2 digits like 02, 03, 04, etc. i = str(i).zfill(2) make_the_commit(i) print("Made the commit number " + str(i) + " done!") print('All commits done!')
Editor is loading...
Leave a Comment