git changes
See where those changes are, and if maybe some of those files/directories should be gitignored
33 Replies
prob the changes are on disk c
there are 19k
Did you initialize the repository at the root of your C drive...?
no
i put it on an onedrive folder
only did this
the changes are all on python extensions
they are at disk c, on .vscode, python extensions
all changes
i already deleted them
but the changes still are on source control
Why were some Python extensions in your C# project...?
Anyway
dotnet new gitignore
if you don't have a gitignore yet
Then git rm -r --cached .
to untrack all files
And git add .
to track them back, accounting for the gitignorecuz i already coded on python
and there are on my git
Why not create a new repository for this project...?
but i created
i've to initalize a new rep?
Why do you have Python files in the same directory as your C# project, then?
i just putted on another folder
So your repository is initiated at the root of all those?
the changes are just on it
python extensions
Like,
?
What Python extensions?
What are they doing in your C# project directory?
i'm using vscode
So add
.vscode
to the gitignore
Though it should not contain any extensions
Just some config filesC:\Users\vitto\.vscode>git add .gitignore
fatal: pathspec '.gitignore' did not match any files
what's wrongYou not adhering to my instructions is what's wrong
Nowhere, at any point, did I mention
git add .gitignore
commandhm
Also
You seem to have the repository at the root of your user directory
Or something
.vscode
is, I guess, where VS Code is installed
I have no idea what the fuck are you doing therewtf
You should not be touching your VS Code installation
Let along storing it in a Git repo
hm
i did the commands
Is that where your repo is located?
no
prob its when i was on my first times
and the git sync
Why are you even trying to do anything there
Well create the gitignore in the folder where you have your repo
Not in the vscode folder
bro
i didn't putted it
the changes just loaded
what
Confusion 📈
Ok, show a screenshot of the list of changes you see in vscode
And that's the last we heard of them
bro
called zz
just chill
u are going nervous by nothing
i fix that
it was just a branch

Your git repository is contained within a folder called
.git
. Everything in the same directory as that .git
folder, and everything in any folders contained by that folder, will be "seen" by git.
Where is that .git
folder? What folder is it in?LC#
now its fixed