简体   繁体   中英

git .gitignore not ignore all my files

I have a problem with my .gitignore

here there my .gitignore content:

application/configs/application.ini
cache/
uploads/
thumbs/
docs/
.htaccess
*.swp
*~
nbproject/

it works for all of them except application/configs/application.ini

I can't understand why

Can you please help me

Thanks :)

application/configs/application.ini is probably already tracked.
You need to remove it from your repo in order to be ignored in the future: git rm --cached application/configs/application.ini .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM