angry kiwi
angry kiwi

Reputation: 11445

Why VSCode asks me to choose a repo when I try to commit git?

Why VSCode asks me to choose a repo when I try to commit git?

When I press the "commit all changes" command, VSCode shows this:

enter image description here

prolife-cms is the project I'm working on

prolife-store is a project I'm not working on, I don't even open any files about from that project, why VSCode asks me about it? I just want to commit whatever in the project I'm working on.

Upvotes: 0

Views: 243

Answers (1)

Ofir
Ofir

Reputation: 326

Had the same issue when working on a multi repo workspace, enabling "Always Show Repositories" under VSCode settings solved this.

Steps:

  1. Go to File > Preferences > Settings (or Code > Preferences > Settings for macOS)
  2. Go to User > Features > SCM
  3. Check/Turn on the option "Always Show Repositories"

enter image description here

Upvotes: 1

Related Questions