mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-09-21 04:10:37 +02:00
fix(deploy): error: The following untracked working tree files would be overwritten by checkout
This commit is contained in:
parent
fd7adaa61f
commit
fcba5a4227
@ -793,6 +793,7 @@ def update_servergitmirrors(servergitmirrors, repo_section):
|
|||||||
# Switch to the initial branch and unstage all files
|
# Switch to the initial branch and unstage all files
|
||||||
repo.head.reference = initial_branch_ref
|
repo.head.reference = initial_branch_ref
|
||||||
repo.head.reset(index=True, working_tree=False)
|
repo.head.reset(index=True, working_tree=False)
|
||||||
|
repo.delete_head(repo.branches[branch_name])
|
||||||
|
|
||||||
if progress:
|
if progress:
|
||||||
progressbar.done()
|
progressbar.done()
|
||||||
|
Loading…
Reference in New Issue
Block a user