SWU: git reset => git reset --hard for forced version
This commit is contained in:
parent
d9a4ff47b6
commit
882cf3a142
1 changed files with 1 additions and 1 deletions
|
|
@ -122,7 +122,7 @@ def update_source(git_executable, folder, target, force=False, branch=None):
|
|||
print(stdout)
|
||||
|
||||
if force:
|
||||
reset_command = ["reset"]
|
||||
reset_command = ["reset", "--hard"]
|
||||
reset_command += [target]
|
||||
|
||||
print(">>> Running: git %s" % " ".join(reset_command))
|
||||
|
|
|
|||
Loading…
Reference in a new issue