hub: Can't use with GH Enterprise
Hi I can’t seem to use hub with Github Enterprise.
% hub --noop pull-request
Aborted: the origin remote doesn't point to a GitHub repository.
I have whitelisted my GHE hostname
% hub config --get-all hub.host
myco-github.com
I do not have an upstream, or any weird urls at all
% hub remote -vv
origin git@myco-github.com:myco/chef-repo.git (fetch)
origin git@myco-github.com:myco/chef-repo.git (push)
I’ve tried being a bit more explicit about which host I want
% GITHUB_HOST=myco-github.com hub --noop pull-request
Aborted: the origin remote doesn't point to a GitHub repository.
I’m on GHE 2.7, and these client versions (installed with brew install hub)
% hub --version
git version 2.8.4 (Apple Git-73)
hub version 2.2.9
WRT #952, I don’t have hub.protocol set at all (git config --get-all hub.protocol responds with no lines).
I can’t find any --verbose flag that will let me know what string hub is looking at.
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Reactions: 3
- Comments: 17 (9 by maintainers)
@timja-kainos Yes but for now you’ll need to edit
~/.config/hubdirectly to add: