blob: 9e8aa6aa57aa0450222984f15dc61d59a37ef564 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
from subprocess import run
def git(*args):
command = ['git']
tmp = []
for arg in args:
tmp += arg.split()
command += tmp
print(f'Running: {" ".join(command)}')
return run(command, capture_output=True)
|