feature: cambiar configuraciones de git flow en config local

This commit is contained in:
Jonathan Teran Carballo
2026-07-29 10:44:54 -03:00
parent a1a9a7acac
commit 0df2720f89
2 changed files with 2 additions and 4 deletions
+1 -3
View File
@@ -27,9 +27,7 @@ def init():
flowconfig["flow.remote"] = remote flowconfig["flow.remote"] = remote
flowconfig["flow.remote-type"] = remote_type flowconfig["flow.remote-type"] = remote_type
Git.set_config(flowconfig, FLOWCONFIG_FILENAME) Git.set_config(flowconfig)
Git("add", FLOWCONFIG_FILENAME).exec()
Git("commit", message="feature: initialize git-flow").exec()
_ensure_all_flow_branches_exist(branches, remote) _ensure_all_flow_branches_exist(branches, remote)
+1 -1
View File
@@ -33,7 +33,7 @@ class Git:
@staticmethod @staticmethod
def set_config(config: dict[str, str], file: str | None = None): def set_config(config: dict[str, str], file: str | None = None):
for key, value in config.items(): for key, value in config.items():
Git("config", key, value, file=file).exec() Git("config", key, value, file=file).exec(print="Updating config")
@staticmethod @staticmethod
def flow_config(*args, **kwargs): def flow_config(*args, **kwargs):