mirror of
https://github.com/sartography/cr-connect-workflow.git
synced 2025-02-23 13:18:35 +00:00
Bug? origin/origin/brach, rather than origin/branch
This commit is contained in:
parent
64ffbde3d9
commit
6fa729900c
@ -61,7 +61,8 @@ class GitService(object):
|
||||
repo.remotes.origin.push(refspec='{}:{}'.format(git_branch, f'origin/{git_branch}'))
|
||||
repo.remotes.origin.fetch()
|
||||
|
||||
remote_ref = repo.remotes.origin.refs[f'origin/{git_branch}']
|
||||
# remote_ref = repo.remotes.origin.refs[f'origin/{git_branch}']
|
||||
remote_ref = repo.remotes.origin.refs[f'{git_branch}']
|
||||
repo.active_branch.set_tracking_branch(remote_ref)
|
||||
return repo
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user