Zbigniew KACPRZAK
Results
2
comments of
Zbigniew KACPRZAK
Found here: https://github.com/atlassian-api/atlassian-python-api/blob/master/atlassian/confluence.py#L1299
Our core code: ``` try: repo = Repo.init(clpath, initial_branch=brname) repo.git.add(all=True) repo.index.commit(commit_message) repo.create_remote('origin', url=repository_to) repo.git.push('-u', 'origin', f'HEAD:{brname}') except GitCommandError as ex: errmsg = str(ex.stderr) errmsg = re.sub(r'(.*fatal: )(.*)\n', r'\2', errmsg).strip('\n').rstrip("'") logger.error(f"Exception...