Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Could not read from remote repository. #70

Closed
owenniblock opened this issue Dec 8, 2017 · 1 comment
Closed

Could not read from remote repository. #70

owenniblock opened this issue Dec 8, 2017 · 1 comment

Comments

@owenniblock
Copy link
Member

I followed the installation instructions for mac and it seems to have been successful but when I try to perform git commands which call the origin - I get the following:

MacBook-Pro:CCExample $ git fetch
remote:
remote: Your Git command did not succeed.
remote: Details:
remote: 	Public key authentication failed.
remote:
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

The repo is in VSTS & I used the VSTS instructions to add the origin to the local git repo.

I have confirmed that the config line has been added to ~/.gitconfig and appears in git config --list

@owenniblock
Copy link
Member Author

Never mind! It was because I was trying to connect via SSH and obviously it can only work over HTTPS.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant