mirror of
https://github.com/morpheus65535/bazarr.git
synced 2024-11-10 17:13:35 +08:00
Git fetch new branch
This commit is contained in:
parent
645b58f08e
commit
33ac660e24
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ local_repo = pygit2.Repository(repository_path)
|
|||
|
||||
def check_and_apply_update(repo=local_repo, remote_name='origin'):
|
||||
repo.config['remote.origin.fetch'] = '+refs/heads/*:refs/remotes/origin/*'
|
||||
repo.remote.update()
|
||||
repo.remotes[remote_name].fetch()
|
||||
repo.config['user.name'] = 'Bazarr user'
|
||||
repo.config['user.email'] ='bazarr@fakeuser.com'
|
||||
|
||||
|
|
Loading…
Reference in a new issue