diff --git a/patchwork/steps/CommitChanges/CommitChanges.py b/patchwork/steps/CommitChanges/CommitChanges.py index 4d3ea563..19a68e94 100644 --- a/patchwork/steps/CommitChanges/CommitChanges.py +++ b/patchwork/steps/CommitChanges/CommitChanges.py @@ -150,7 +150,7 @@ def run(self) -> dict: to_branch, ): for modified_file in true_modified_files: - repo.git.add(modified_file) + repo.git.add("-f", modified_file) commit_with_msg(repo, f"Patched {modified_file}") return dict( diff --git a/pyproject.toml b/pyproject.toml index 6a3870ad..f6461d2d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "patchwork-cli" -version = "0.0.57" +version = "0.0.58" description = "" authors = ["patched.codes"] license = "AGPL"