This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 247622

Summary: app/bootstrap.php.cache not ignored
Product: versioncontrol Reporter: svierkant
Component: GitAssignee: Ondrej Vrabec <ovrabec>
Status: RESOLVED INVALID    
Severity: normal CC: git, svierkant
Priority: P3    
Version: 8.0.1   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Attachments: .gitignore
screenshot

Description svierkant 2014-10-01 09:11:57 UTC
Created attachment 149641 [details]
.gitignore

I've created a .gitignore file in a Symfony2 project, but it is not working properly.

All my files are being ignored, except for one: /app/bootstrap.php.cache. In all my Symfony2-projects, it is excluded from commits properly, but the file's color is blue.
Comment 1 svierkant 2014-10-01 09:15:30 UTC
Created attachment 149642 [details]
screenshot
Comment 2 Ondrej Vrabec 2014-10-01 10:49:56 UTC
If the file is painted blue, it means it has already been committed. Such files cannot be ignored. You must have accidentally committed the file earlier. Try Git -> Show History on the file, it will tell you when the file was committed.
1) delete the file
2) commit the deletion
3) recreate the file.