Vscode: Git repo in sub folder or project

Created on 11 Nov 2016  路  4Comments  路  Source: microsoft/vscode

  • VSCode Version: 1.7.1
  • OS Version: win10

I have a project in vscode based on folder: myproject/
In this folder there is a git repo: myproject/gitfolder/
I can't find a way to use the built in git function of vscode because my base folder is not a git repo.

feature-request git

Most helpful comment

I'm working with vscode for Go and each of my subfolders are git repositories so I would like this functionality as well.

All 4 comments

Same here. I work in a virtualenv which has several different git repositories in different subdirectories. VSCode's inbuilt git functionality is not sensing them and rather asks me to "Initialize Git repository".

I'm working with vscode for Go and each of my subfolders are git repositories so I would like this functionality as well.

+1
In a large project, there are many independent git repo in different folder. But VS code can not deal with this situation. I need this feature too.

VS Code now supports this. Just open a single file within those folders. The repository will appear in the SCM view.

Was this page helpful?
0 / 5 - 0 ratings