However, only time will tell and I'll have to wait for the next update to Visual Studio to find out. I'm optimistic that this solution will fix the problem for good, as it appears to work by getting the installed Git and Visual Studio's Git completely in sync. Until 15.1, removing Visual Studio's version of Git fixed the problem, but 15.1 no longer falls back to the installed Git, so removing the Git folder produces a different error. I think the problem is that when I originally installed Visual Studio, it was using a later version of Git and that caused conflicts with the installed Git, even after updating the installed Git. Note, the -save-dev option here is telling node to add. Run the following commands from the same folder that you added the package.json file. Run the Visual Studio 2017 installer again and modify the install to add Git For Windows again. Next, we will install a few packages that we will use for this project.Download the latest version of Git and install it.Run the Visual Studio 2017 installer and modify the install to remove Git For Windows.Uninstall all versions of Git via Control Panel / Uninstall a program.Delete this folder (backing it up in case you need to restore it):Ĭ:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team Explorer\Git.Fortunately, Toby figured it out and posted the answer at Stack Overflow. It fails and this error shows up in the output window:Įrror encountered while pushing to the remote repository: Git failed with a fatal error.Īs of the latest 15.1 update to Visual Studio 2017, the solution I posted previously no longer works. The problem manifests itself when you try to push changes to a remote Git repository. I documented this in my post on troubleshooting the Visual Studio 2017 upgrade. Until 15.1 (26403.0), the solution was to delete Visual Studio's version of Git and let it pick up the version installed in Windows. In Visual Studio Installer, choose the Individual components tab, and then scroll down to the Debugging and testing section. Launch Visual Studio Installer by choosing Tools > Get Tools and Features. Every update I've applied to Visual Studio 2017 has broken Git again. To access the Coded UI test tools and templates, install the Coded UI test component of Visual Studio.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |