My project structure is like this:
├── myProject
│ ├── myapp
│ ├── myenv
│ └── db.sqlite3
Each time I run:
git status
I received many status changes of myenv which are not important to me, but the myenv changes are too many, it is very annoying.
I tried to ignore it by creating a .gitignore file:
├── myProject
│ ├── myapp
│ ├── myenv
├── db.sqlite3
└── .gitignore
Inside it:
db.sqlite3
dir_to_ignore/myenv/
But it does not work, after running git status
, still lots of status changes of myenv came out.
How can I solve this?