Код: Выделить всё
stderr: 'fatal: destination path 'C:/Users/tred1/Desktop/WORK/анализатор/GHR_Y00011450/Data' already exists and is not an empty directory.
Вот часть кода, выполняющего клонирование
Код: Выделить всё
class CloneProgress(RemoteProgress):
def update(self, op_code, cur_count, max_count=None, message=''):
pbar = tqdm(total=max_count)
pbar.update(cur_count)
def save (source, directory):
Repo.clone_from(source, directory, branch='master', progress=CloneProgress())
Подробнее здесь: https://stackoverflow.com/questions/689 ... -directory