git_maryna_tkachuk

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
import os
suffix = ['alfa', 'bravo', 'charlie', 'delta', 'echo']
name = 'maryna_tkachuk'
for suf in suffix:
branch_name = f'{name}_{suf}'
os.system(f'git checkout {branch_name}')
os.system(f'date >current_time.txt; echo {suf} >suffix.txt')
os.system(f'git add suffix.txt current_time.txt; git commit -m “{suf}”')
os.system('git push origin')