简体   繁体   中英

Unable ignore the eclipse setting in gitignore

I am using 

/*/.settings/*

OR
/*/.settings/

to ignore eclipse setting.

abc.host.client/.settings/org.eclipse.jdt.core.prefs

but unable to ignore the following files.

abc.host.client/.settings/org.eclipse.wst.common.project.facet.core.xml

abc.host.client/.settings/org.eclipse.wst.common.component

I am using git version 1.7.1 . May I know what is the problem?Thank You.

Since you have added /*/.settings/* recently to .gitignore , you need to clear the cache of .gitignore .

git rm --cache .gitignore

After that commit as usual.

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