Skip to content

Custom pull request URLs not working for SSH authentication #5069

@cascer1

Description

@cascer1

At work, I have some SSH aliases configured for easy git operations. For example, the following snippet:

Host gitlab
    Hostname gitlab.example.com
    User git

I can then easily clone using git clone gitlab:someone/something

However, I can't figure out how to configure this for the custom pull request URLs. I've tried the following in my lazygit.yml file:

services:
    'gitlab': 'gitlab:gitlab.example.com'
    'gitlab.example.com': 'gitlab:gitlab.example.com'
    '[email protected]': 'gitlab:gitlab.example.com'

But in every case, I get the following error when trying to open a PR using the o or O hotkey:

Failed to parse repo information from url

What am I doing wrong?

Versions

  • git version 2.48.1.windows.1
  • commit=3de12b7fde56cec5d0fc27b1986180c27e50d971, build date=2025-09-17T18:42:05Z, build source=binaryRelease, version=0.55.1, os=windows, arch=amd64, git version=2.48.1.windows.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions