git2r icon indicating copy to clipboard operation
git2r copied to clipboard

fetch with https?

Open ADraginda opened this issue 9 years ago • 0 comments

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 ([email protected]: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?

ADraginda avatar Nov 15 '17 22:11 ADraginda