From a8edf269f11a642c42b595a2f171b09bbb741fb6 Mon Sep 17 00:00:00 2001
From: Jesse Duffield <jessedduffield@gmail.com>
Date: Sat, 29 Jun 2024 18:08:17 +1000
Subject: [PATCH] WIP

---
 pkg/commands/git_commands/github.go | 4 ++++
 1 file changed, 4 insertions(+)

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