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

Make the GitHub url into a config value #18

Closed
asheliahut opened this issue Oct 4, 2019 · 2 comments
Closed

Make the GitHub url into a config value #18

asheliahut opened this issue Oct 4, 2019 · 2 comments

Comments

@asheliahut
Copy link

Changing the base url for GitHub will allow support for GitHub Enterprise.

@0xtavian
Copy link

0xtavian commented Nov 6, 2019

I implemented baseURL here https://github.com/0xtavian/shhgit/blob/master/core/session.go#L65 but when running on debug we are able to view the private GHE repos urls but unable to clone.

Screen Shot 2019-11-05 at 5 34 51 PM

I believe the solution is to also support basic authentication.

"Turns out that {Github Enterprise} uses the token as a password for your user, so it requires a basic authentication rather than a token in the header." https://stackoverflow.com/questions/51751828/clone-a-repository-from-github-enterprise-with-go-git

@eth0izzle
Copy link
Owner

Closed. See #38

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