mirror of
https://github.com/Comfy-Org/ComfyUI-Manager.git
synced 2025-12-16 10:02:28 +08:00
9 lines
124 B
Python
9 lines
124 B
Python
import git
|
|
|
|
repo_path = "."
|
|
if repo.is_dirty():
|
|
repo.git.stash()
|
|
|
|
repo = git.Repo(repo_path)
|
|
repo.git.pull(rebase=True)
|