I have, until recently, been maintaining version control of various coding projects on a Windows machine via git installed within Cygwin. I am now in the process of switching over to Visual Studio Code as a text editor (I am still planning to compile via the command line, at least for now).
In order to keep double installations to a minimum, I have set VS Code's git.path variable to the git executable in the Cygwin directory. However, I am having an issue that VS Code does not seem to recognize my already-existing local git working directories, even when opening folders in VS Code at the root directory level (I have searched online and only come up with discussions from a year or two ago that suggested that this is necessary). When I click on the SOURCE CONTROL
tab, I see There are no active source control providers
.
Is there a way to not have to clone duplicate/replacement working directories through VS Code and to force it to use the already-cloned ones? I know I can continue to use Cygwin for git, and simply use VS Code as a text editor, but I was hoping to be able to use some of VS Code's helpful git features.