user33276346
user33276346

Reputation: 1739

Why does git mark as untracked a .gitignored folder?

enter image description here

I haven't previously committed this folder.

Upvotes: 0

Views: 36

Answers (1)

tmaj
tmaj

Reputation: 35017

Because your .gitignore is in the code folder.

Move .gitgnore to the top folder of your repository.

enter image description here

Upvotes: 4

Related Questions