I originally created a git repository in main directory. Later on, I created another repository in a child directory. Now if I open child directory codes in VS Code, it will use the .git in child directory even I open it in parent directory: VScode ./child
.
The trick I use is to rename .git in child directory so VS code will use the parent directory repository. I am curious if there is a setting in VS Code so I can pick the repository I'd like to use?