首页 > 解决方案 > Git extensions not working in VSCode for only one project

问题描述

I am facing a really weird issue with Visual studio code and all the Git related extensions(Specially GitLens and GitHistory). What I am seeing here is that both of the extensions are not working for a particular project that I have.

GitHistory does not show history and Git Lens Unable to show file history. The file is probably not under source control.. In fact, this file and entire project is under source control. All the git commands from the terminal are working as expected including git log, which I thought these extensions may be relying on in the background.

Also, I turned on verbose logging for git lens and it is not logging any particular problem that I can see in the console.

My VS Code and both extensions are updated to the latest version. I am not sure what else to try . Any suggestions?

标签: gitvisual-studio-code

解决方案


推荐阅读