D
D
dev212021-03-01 10:31:02
git
dev21, 2021-03-01 10:31:02

How to ignore .idea?

Can't ignore .idea folder. Wrote in .gitignore and /.idea and /.idea/ and .idea. Nothing helps. The files in it are visible through git status.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Demian Smith, 2021-03-01
@search

Run `git rm -r .idea`.
Well, leaving `.idea` in `.gitignore` would not hurt either. So that these files do not appear again.

I
illuzor, 2021-03-01
@iLLuzor

If the files have already been added to the index, you must remove them using git rm

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question