-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpython.py
More file actions
24 lines (20 loc) · 694 Bytes
/
Copy pathpython.py
File metadata and controls
24 lines (20 loc) · 694 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
import os
from random import randint
for i in range(2, 10): # days 365 in a year
for j in range (0, randint(100, 300)): # no. of commits per a day
d = str(i) + 'days ago'
with open('file.py', 'a') as file:
file. write("\n")
file.write(d)
with open('commit.py', 'a') as file:
file. write("\n")
file.write(d)
with open('kofi.py', 'a') as file:
file. write("\n")
file.write(d)
with open('kinnata.py', 'a') as file:
file. write("\n")
file.write(d)
os.system('git add .')
os.system('git commit --date="' + d + '" -m "commit hacking"')
os.system('git push -u origin main')