mirror of
https://github.com/Comfy-Org/ComfyUI-Manager.git
synced 2025-12-16 18:02:58 +08:00
Update update-fix.py
This commit is contained in:
parent
c089bad58b
commit
d5336c0299
@ -1,8 +1,9 @@
|
||||
import git
|
||||
|
||||
repo_path = "."
|
||||
repo = git.Repo(repo_path)
|
||||
|
||||
if repo.is_dirty():
|
||||
repo.git.stash()
|
||||
|
||||
repo = git.Repo(repo_path)
|
||||
|
||||
repo.git.pull(rebase=True)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user