git2r
git2r copied to clipboard
fetch with https?
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?