Git issue with Visual Studio 2015

前端 未结 5 1023
无人及你
无人及你 2021-01-31 14:29

I have a Visual Studio solution inside a git repository created with TortoiseGit version 1.8.16.0 (git version 2.6.2.windows.1)

I just updated Visual Studio from 2015 to

5条回答
  •  深忆病人
    2021-01-31 14:55

    Since the Visual Studio 2015 update 1 release notes and its "Known Issues and Fixed Bugs" page does not mention anything related to Git, try to:

    • make a fresh clone of your repo from the command line (git clone)
    • import the solution in Visual Studio and check if the git repo is detected

    Or:

    • make a new git repo with Visual Studio (as in "Visual Studio Code: How to integrate Git")

    • check that you can add new files
    • close Visual Studio
    • overwrite that new repo by your own (delete and replace the .git by your own, and copy your worktree over the one used by Visual Studio)

提交回复
热议问题