This is my first question in StackOverflow (hello!). :)
The thing is that with my IDE, Visual Studio Code, I can not change the "U" of untracked for an added file.
- After I include a new file into my repository, the file is untracked by git (and therefore marked with a 'U').
- Then I open the Terminal on VS Code and initiate git in the proper route with
git init. - After that, I stage it with the
git add .command, the marker it is supposed to change to "A" but it is not the case. - Even when I commit the changes with
git commit -am "first commit"the file is still displayed as "U"...
What it is strange to me is that in the Terminal the changes, modifications, uploadings... are identified by git without any inconvenient, it is just in the Visual Studio User Interface that this thing happen.
Picture1: enter image description here
My Attempts:
- I have tried to reinstall VS Code but it is still having the same issue (I have a Mac with intel chip).
- Tried with other repositories/projects... same issue.
Any help is well received. Thank you for your time!.
Using the Source Control the file can be added to the stage as well, it has the same result that running a
git add (file)command but using VS Code user interface. See the image below.