def archive(self, path, exclude=True): a = GitArchiver(exclude=exclude, main_repo_abspath=self.path) a.create(path)