Monday, October 10, 2022

VSCode Does Not Recognize Local Git Repository

Opening a local folder that is a Git repository is not recognized as repository in VSCode. 

VSCode asks the user to initialize the folder as a repository even though the folder is already a Git repository. 

VSCode does not recognize the local folder as Git repository

The workaround is to open VSCode as an Administrator. 

Run as administrator

This will recognize the folder as a Git repository. 

No comments:

Post a Comment

Had to include word verification to prevent spam.