This commit is contained in:
2026-05-26 18:15:37 +03:00
parent 0b6f61623e
commit ee08e2f3dd
15 changed files with 13702 additions and 7702 deletions

View File

@@ -232,8 +232,8 @@ class GitPlugin(PluginBase):
shutil.rmtree(backup_dir, ignore_errors=True)
try:
repo.git.add(A=True)
app_logger.reason("Changes staged in git", extra={"src": "_handle_sync"})
repo.git.add(A=True, force=True)
app_logger.reason("Changes staged in git (force)", extra={"src": "_handle_sync"})
except Exception as ge:
app_logger.explore(f"Failed to stage changes: {ge}", extra={"src": "_handle_sync"})