from datetime import date today date today checkout git checkout -b na

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
from datetime import date
today = date.today()
checkout = 'git checkout -b '
name = 'maryna_shulha_'
suffixes = ['alfa', 'bravo', 'charlie', 'delta', 'echo']
print(checkout + name + suffixes[0])
print('touch current_time.txt')
print(f'echo {today} >> current_time.txt')
print('git add current_time.txt')
print('touch suffix.txt')
print(f'echo {suffixes[0]} >> suffix.txt')
print('git add suffix.txt')
print(f'git commit -m "{suffixes[0]}"')
print(f'git push origin {name + suffixes[0]}')