The Git client in Visual Studio 2013 is "standalone",

Visual Studio says git is disabled. Not just one git repo, but git. There is no option to connect to a new repo, and any existing projects will be opened offline, even if they are on the local machine.

+6
source share
1 answer

Possible fixes:


Delete the contents of this folder, and then restart Visual Studio.

%LOCALAPPDATA%\Microsoft\VisualStudio\12.0\ComponentModelCache 

Switch the version control plugin to TFS (or another provider) and then return it to the "Microsoft Git Provider"


Open another Git repository, then reopen the offline repo.


Remove unnecessary version control plugins (e.g. Ahnk SVN when using only Git projects)


The refs / head / master file is corrupt. Re-clone repo

+4
source

Source: https://habr.com/ru/post/973737/


All Articles