Update update-fix.py

This commit is contained in:
Dr.Lt.Data
2023-07-26 00:28:16 +09:00
committed by GitHub
parent c089bad58b
commit d5336c0299

View File

@ -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)