1

I am new to this... When I make changes in files or add a new file in Visual Studio Code, it will be captured by the source control panel with a blue icon, but when I add a new folder, this will not be given the blue icon or show up in source control panel... why? And how to make it there? Thanks

enter image description here

1 Answers1

0

If the new directory is empty, git won't track it. You'll need to add a .gitkeep file or some other "dummy" file.

See How can I add a blank directory to a Git repository?

deric4
  • 1,095
  • 7
  • 11