diff --git a/lib/git_exporter.py b/lib/git_exporter.py index 11780e2..edb9b97 100644 --- a/lib/git_exporter.py +++ b/lib/git_exporter.py @@ -116,8 +116,8 @@ class GitExporter: assert flat.parent2.git_commit parents.append(flat.parent2.git_commit) - # Overwrite ".gitattributes" with the - self.git.add_default_lfs_gitattributes(force=True) + # create file if not existant + self.git.add_default_lfs_gitattributes(force=False) to_download, to_delete = flat.commit.calc_delta(branch_state[flat.branch]) for file in to_delete: