Domanda

When I'm trying to clone git repository from my computer (Win 7) I receive an error 'Please make sure you have the correct access rights and the repository exists.', but equivalent actions on computer (Win 7) of my colleague ends with succes. It must be said i have had cloned without problems the same repository on Virtual Machine (Ubuntu) installed on my computer. Please, help me to understand why this error appears only in case of Win 7 only on particular computer.

È stato utile?

Soluzione 2

First of all, you should check the URL with: git remote -v

If it's correct, you have to be sure you are allowed to access the server from your IP, network and working group.

Git will raise that error in the case the URL is typed incorrectly or your computer is blocked by some firewall.

Altri suggerimenti

When you're in Windows, see if you're logged in first with the following console commands (use Cygwin, not the Windows terminal) :

git config --global user.name
git config --global user.email

You need to be logged into a Git account with access rights to that repository. Use the same commands you'd use for UNIX but in Cygwin.

If you're using Github, there's a nice little GUI for it, as well as a UNIX-like terminal. The following download should install both.

http://windows.github.com/

Once you can "log in", click the grey checkbox next to this answer so that other people know it works.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top