Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What does the S file marker mean in VSCode?

I'm starting to use VSCode and I saw this other question explaining the git features of the file manager: What are U & M file markers in Visual Studio Code? I learned what U and M mean but some of my folders have the S marker and I don't know what it means. I'm surprised that I can't find anything else online about this! Does anyone know what the "S" means?'

image of file manager with S file markers

like image 849
user3106099 Avatar asked May 24 '19 18:05

user3106099


2 Answers

In general, the "S" stands for for "submodule", indicating that this folder corresponds to a git submodule. A submodule is a Git repository that's inside of another Git repository.

Note that these notations are provided by various components, called SCM providers, that aren't part of Visual Studio Code itself. So what you see depends on which provider you're using for VS Code git extensions.

like image 127
John Feminella Avatar answered Sep 19 '22 23:09

John Feminella


S - Submodule (This is a Git repo inside of another Git repo)

Other Letters are:

A - Added (This is a new file that has been added to the repository)

M - Modified (An existing file has been changed)

D - Deleted (a file has been deleted)

U - Untracked (The file is new or has been changed but has not been added to the repository yet)

C - Conflict (There is a conflict in the file)

R - Renamed (The file has been renamed)

like image 25
Geo Avatar answered Sep 20 '22 23:09

Geo