diff options
Diffstat (limited to 'pkg/commands/git_commands')
-rw-r--r-- | pkg/commands/git_commands/github.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkg/commands/git_commands/github.go b/pkg/commands/git_commands/github.go index ddce8304a..d3d829951 100644 --- a/pkg/commands/git_commands/github.go +++ b/pkg/commands/git_commands/github.go @@ -287,6 +287,10 @@ func getRemotesToOwnersMap(remotes []*models.Remote) map[string]string { continue } + if !strings.Contains(remote.Urls[0], ":") { + continue + } + res[remote.Name] = getRepoInfoFromURL(remote.Urls[0]).Owner } return res |