mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-29 17:47:14 +02:00
Add "--force" for git update // Issue #3060
This commit is contained in:
@ -165,7 +165,9 @@ class GitClient(VCSClientBase):
|
||||
assert self.run_cmd(args)
|
||||
if is_commit:
|
||||
assert self.run_cmd(["reset", "--hard", self.tag])
|
||||
return self.run_cmd(["submodule", "update", "--init", "--recursive"])
|
||||
return self.run_cmd(
|
||||
["submodule", "update", "--init", "--recursive", "--force"]
|
||||
)
|
||||
return True
|
||||
|
||||
def update(self):
|
||||
|
Reference in New Issue
Block a user