feature: cambiar configuraciones de git flow en config local
This commit is contained in:
@@ -27,9 +27,7 @@ def init():
|
||||
flowconfig["flow.remote"] = remote
|
||||
flowconfig["flow.remote-type"] = remote_type
|
||||
|
||||
Git.set_config(flowconfig, FLOWCONFIG_FILENAME)
|
||||
Git("add", FLOWCONFIG_FILENAME).exec()
|
||||
Git("commit", message="feature: initialize git-flow").exec()
|
||||
Git.set_config(flowconfig)
|
||||
|
||||
_ensure_all_flow_branches_exist(branches, remote)
|
||||
|
||||
|
||||
+1
-1
@@ -33,7 +33,7 @@ class Git:
|
||||
@staticmethod
|
||||
def set_config(config: dict[str, str], file: str | None = None):
|
||||
for key, value in config.items():
|
||||
Git("config", key, value, file=file).exec()
|
||||
Git("config", key, value, file=file).exec(print="Updating config")
|
||||
|
||||
@staticmethod
|
||||
def flow_config(*args, **kwargs):
|
||||
|
||||
Reference in New Issue
Block a user