I am new to VS Code. I have "attached" VS Code to an already running Docker container. My source code resides in the local host machine. The source code folder is mapped to a folder inside the container using "VOLUME /project-home". In VS Code, I am able to open the files within the container and edit/save them.
Now, I am trying to use git which is installed on my local machine within VS Code. But when I click on the "Source Control" icon it says "A valid git installation was not detected" and "Install it or configure it using the 'git.path' setting."
There is some documentation here which I was not able to understand :( https://code.visualstudio.com/docs/remote/containers#_attaching-to-running-containers
I could possibly install git in the container and VS code should be able to recognise it but I want to use the local git. Any idea how to do it ?