Uploaded image for project: 'Sourcetree for Windows'
  1. Sourcetree for Windows
  2. SRCTREEWIN-14567

Git Remote Button not working for GitHub SSH Cloned Repos

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Unresolved
    • None
    • General
    • None
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      When clicking the "Remote" button in the Header/Ribbon the following error is displayed:

      Get an app to open this 'ggithub.com' link (see screenshots below)

      This issue only exists for repositories cloned from GitHub SSH Paths not HTTPS

      i.e. git@github.com:${owner}/${repo}

      I would recommend coding an exception for git repos with path git@github.com to have the remote button in the header simply navigate to

      https://github.com/${owner}/${repo}

       and removing the git@ prefix.

      This issue does not exist for repos cloned from my Gitea Instance using SSH as the Remote Path is hardcoded to ssh:// and the Remote Button opens my default SSH Terminal (in my case termius)

      i.e. ssh://git@gitea.domain.tld:2222/${owner}/${repo}

              73ddb60f0fdb Reetika Narula
              ec4084af40be Joseph Liput
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: