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

fetch with https? #300

Open
ADraginda opened this issue Nov 15, 2017 · 0 comments
Open

fetch with https? #300

ADraginda opened this issue Nov 15, 2017 · 0 comments

Comments

@ADraginda
Copy link

I'm trying to fetch with a repo that has https set

git2r::fetch(git2r::repository(), "origin", git2r::cred_token())

Gives me Error in 'git2r_remote_fetch': unsupported URL protocol

My repository object has

Remote:   git2r @ origin (git@github.com:my_company/my_repo.git)

Going into my repo's config and choosing http instead of https resolve the issue but I feel like I should be able to work with https? Am I doing something wrong or is it something with git2r?

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

1 participant