Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pull-request for GitHub Enterprise over http doesn't work #220

Closed
Madrigal opened this issue Jun 30, 2014 · 2 comments
Closed

pull-request for GitHub Enterprise over http doesn't work #220

Madrigal opened this issue Jun 30, 2014 · 2 comments

Comments

@Madrigal
Copy link

My GHE host doesn't accept https, so I have to access via http. I've seen from #115 that you can specify the full host with scheme when adding a host, so my config looks like

gh.host=http://github.enterprise.com

Commands like gh push work ok, but gh pull-request gives me

fatal: Aborted: the origin remote doesn't point to a GitHub repository.

If I specify the gh.host to github.enterprise.com I got prompted for my credentials but my GHE rejects the https connection.
I've tried setting up gh protocol to http like in Hub (https://github.com/github/hub#https-instead-of-git-protocol) and putting the host without the scheme but it doesn't seem to work. Can you give me a hand with this?

@owenthereal
Copy link
Owner

This is fixed in hub 2.0. Note that moving forward gh will be hub 2.0. I may not port back the fixes to this repo. But I'll make a candidate build for hub 2.0 pretty soon

@raine
Copy link

raine commented Jan 16, 2015

gh pull-request is giving me

Aborted: the origin remote doesn't point to a GitHub repository.

with gh.host=http://github.enterprise.com

Without http:// it works.

hub version 2.2.0-rc1-g111100c

Installed with brew install --HEAD hub

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants