lazygit icon indicating copy to clipboard operation
lazygit copied to clipboard

Pull Requests for Github Enterprise

Open defung opened this issue 4 years ago • 3 comments

Is your feature request related to a problem? Please describe. I see an option for creating a pull request, but when I select it, it gives me an error "Unsupported git service". I believe this is because I'm using Enterprise Github.

Describe the solution you'd like It would be great if lazygit supports pull request creation via enterprise github. The URL path and query string is the same as standard github, only the hostname is different.

Describe alternatives you've considered N/A

Additional context N/A

defung avatar Mar 01 '22 15:03 defung

I've gotten this to work for our Enterprise instance via a services entry in the config file, see docs.

In my case (Git and Web URL are identical), it says:

services:
  'github.foo.bar': 'github:github.foo.bar'

moha-gh avatar Mar 08 '22 13:03 moha-gh

This works for me as well. I think this feature request can be closed.

JensPfeifle avatar Jun 01 '22 14:06 JensPfeifle

Verifying that this works for me as well.

rwagner00 avatar Sep 20 '24 21:09 rwagner00

/close

Seems like this fix is working for people

ChrisMcD1 avatar Apr 27 '25 02:04 ChrisMcD1