From 5989699f08be33a85f9a7335d1ecdcf8e919bf5a Mon Sep 17 00:00:00 2001 From: Jonathan Teran Carballo Date: Thu, 9 Jul 2026 18:04:40 -0300 Subject: [PATCH] bugfix: usar https por defecto como esquema si se detecta ssh --- src/git_flow/command/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/git_flow/command/base.py b/src/git_flow/command/base.py index 33b6d90..3409684 100644 --- a/src/git_flow/command/base.py +++ b/src/git_flow/command/base.py @@ -118,7 +118,7 @@ def get_remote_api(token: str) -> RemoteAPI: [schema, host, repository] = RemoteAPI.parse(flowconfig["flow.remote"]) if remote_type == "gitea": - return GiteaRemoteAPI(schema + host, repository, token) + return GiteaRemoteAPI(("https://" if schema == "ssh://" else schema) + host, repository, token) elif remote_type == "bitbucket": return BitbucketRemoteAPI(repository, token) elif remote_type == "github":