4

I have set up the project interpreter in Pycharm for a my team project. I have cloned it from Git. We have listed the file under .idea folder in the .gitignore. But everytime I set the project interpreter, Pycharm track these file as the changed file. Here is our gitignore

*.pyc
doc/.*
partner/.*
.settings/
doc
tests/test.py
tests/format_db.py
nohup.out
crawler/uber.py
.idea/*
.vscode/*
broadcast.log
last_commit.txt
Phat Dang
  • 59
  • 1
  • 3

1 Answers1

10

You have to remove files from git's cache.

git rm --cached file1 file2 dir/file3

source: How to remove files that are listed in the .gitignore but still on the repository?

Anuvrat Parashar
  • 2,960
  • 5
  • 28
  • 55