2

I'm trying to clone Git Repository using visual studio but I'm getting error.

Here is the screenshot of my error: Git Clone Error ScreenShot

Please guide me to fix this issue and I need to clone git repository using Visual Studio.

Cece Dong - MSFT
  • 29,631
  • 1
  • 24
  • 39
Saadi
  • 2,211
  • 4
  • 21
  • 50
  • Do you see any gitlink or submodule in your repo? (http://stackoverflow.com/a/37613387/6309) – VonC Jun 07 '16 at 06:42
  • This is not a VS2013 issue, it also happens with other GIt clients. Did you previsouly use this VS2013 instance? It looks like a fresh install. Do you have permissions to write to the folders you are checking out to? Can you chose a different location? – Peter Branforn Jun 07 '16 at 07:18
  • Yes, I have write permission and I try other locations too. – Saadi Jun 07 '16 at 07:19
  • As a work-around have you tried [git clone](https://git-scm.com/docs/git-clone) on the command line? It would help narrow down the issue to see if this is specific to Visual Studio or a Git problem. I also note (from the yellow warning triangle in your screenshot) that your login information in Visual Studio is stale. Try clicking the triangle and re-entering your credentials. – dumbledad Jun 07 '16 at 08:19
  • Try to create a new Git repository and follow article below to clone it: http://www.malgreve.net/2014/06/17/cloning-getting-code-from-git-repository-to-visual-studio/ – Cece Dong - MSFT Jun 08 '16 at 05:34
  • @Cece-MSFT, I can't create new Repo. I don't have accessed of it. – Saadi Jun 08 '16 at 05:42
  • Where did your repo locate? In TFS or Github? You can create a new repo in a github or TFS, then under the Local Git Repositories section, click the Clone link and paste the link copied in the previous step. – Cece Dong - MSFT Jun 08 '16 at 05:48

0 Answers0