Update update-fix.py
This commit is contained in:
@@ -1,8 +1,9 @@
|
|||||||
import git
|
import git
|
||||||
|
|
||||||
repo_path = "."
|
repo_path = "."
|
||||||
|
repo = git.Repo(repo_path)
|
||||||
|
|
||||||
if repo.is_dirty():
|
if repo.is_dirty():
|
||||||
repo.git.stash()
|
repo.git.stash()
|
||||||
|
|
||||||
repo = git.Repo(repo_path)
|
|
||||||
repo.git.pull(rebase=True)
|
repo.git.pull(rebase=True)
|
||||||
|
|||||||
Reference in New Issue
Block a user