I have two bitbucket accounts. I am trying to pull from one of them (firstname.lastname@example.org:jojoo/votocn.git) and it does not work.
What did I do?
What did I expect to happen?
I expected the command would pull the latest changes.
What happened instead?
I got the following error:
conq: repository does not exist. fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.
The .git/config file for the repo from which I want to pull looks like this:
[core] repositoryformatversion = 0 filemode = true bare = false logallrefupdates = true ignorecase = true precomposeunicode = true [remote "origin"] url = email@example.com:jojoo/votocn.git fetch = +refs/heads/*:refs/remotes/origin/* [branch "master"] remote = origin merge = refs/heads/master [branch "csvExportAPI"] remote = origin merge = refs/heads/csvExportAPI [user] email = firstname.lastname@example.org name = Jojoo Imbeah
My .ssh/config looks like the following:
Host bitbucket.org.voto Hostname bitbucket.org User git IdentityFile /path/to/privatekey IdentitiesOnly yes Host bitbucket.org Hostname bitbucket.org User git IdentityFile /path/to/secondprivatekey IdentitiesOnly yes