Visual Studio 2017 – Git failed with a fatal error

Solution :

  1. Navigate to C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team Explorer\ and delete the Git folder.
  2. Make sure that there is no version of Git installed on your system, remove it by going to Control Panel → Program and Features (TortoiseGit does not need to be removed from my experience, just native git installations).
  3. Open up the Visual Studio 2017 installer and untick “Git For Windows” in installation options.
  4. Head over to the Git website and install the latest version of Git for Windows.
  5. Go back into the Visual Studio installer and tick “Git for Windows” again. It will not download a new version even though it may look like it is. After that is done, your Git should be fine with VSTS and TF Explorer.

Rispondi

Inserisci i tuoi dati qui sotto o clicca su un'icona per effettuare l'accesso:

Logo di WordPress.com

Stai commentando usando il tuo account WordPress.com. Chiudi sessione /  Modifica )

Google photo

Stai commentando usando il tuo account Google. Chiudi sessione /  Modifica )

Foto Twitter

Stai commentando usando il tuo account Twitter. Chiudi sessione /  Modifica )

Foto di Facebook

Stai commentando usando il tuo account Facebook. Chiudi sessione /  Modifica )

Connessione a %s...