diff --git a/src/main/python/ddadevops/release_mixin/infrastructure_api.py b/src/main/python/ddadevops/release_mixin/infrastructure_api.py index 908179d..520b744 100644 --- a/src/main/python/ddadevops/release_mixin/infrastructure_api.py +++ b/src/main/python/ddadevops/release_mixin/infrastructure_api.py @@ -234,6 +234,10 @@ class GitApi(): self.system_api.run_checked('git', 'add', file_path) return self.system_api.stdout + def add_remote(self, origin: str, url: str): + self.system_api.run_checked('git', 'remote', 'add', origin, url) + return self.system_api.stdout + def commit(self, commit_message: str): self.system_api.run_checked( 'git', 'commit', '-m', commit_message)