Visual Studio crashes whenever I use git


I’ve been using Visual Studio to work on my C++ coding. When I try to create a git repo the application crashes.

This issue is reproducible for me through the simple steps

  1. Create an empty project, call it Project, which now exists at C:\Users\name\source\repos\Project.
  2. Go to Create Git Repository, add a name, and hit create repository.

I noticed that the local repo path is default C:\Users\name, and it doesn’t allow me to change this path. Looking at examples online the local repo path is always C:\Users\name\source\repos\Project. This could be involved with the issue.

Edit: The “crash” consists of Visual Studio freezing and eventually going unresponsive, during which time my PC is incredibly slow. Eventually the application goes unresponsive and I get the option to wait/restart/close. Also note that the repo does get created as I can see it on github.

Leave a Reply

Your email address will not be published. Required fields are marked *