A
A
AlinaCat2019-02-17 04:00:58
git
AlinaCat, 2019-02-17 04:00:58

Git - Specify watch folder?

It's about the Working Directory! Little experience in GIT. In general, I did git init in the right folder, then immediately without doing anything in the folder I did the git status command, and it generally shows that there were changes in a bunch of files outside this folder (up to the root folder on the computer) and offers to commit all this through add .
How to fix and where cant possible?
Writes this to Status:
Untracked files:
(use "git add ..." to include in what will be committed)
../../.BigNox/
../../.android/
../../. atom/
and a bunch of left external folders
i.e. it turns out that my working directory is created somewhere in the wrong place.
ps maybe VSCode could somehow overwrite something? After all, there is a panel with git and it does something by itself and keeps track of me all the time without asking.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Y
y0u, 2019-02-17
@AlinaCat

... down to the root folder on the computer

If so, then you should have a hidden folder called .git. Delete it. And all the extra folders with the same name too.
Such a folder should only be where you initialize git.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question