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 - app/bootstrap.php.cache not ignored
Summary: app/bootstrap.php.cache not ignored
Status: RESOLVED INVALID
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: Git (show other bugs)
Version: 8.0.1
Hardware: PC Linux
: P3 normal with 1 vote (vote)
Assignee: Ondrej Vrabec
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-01 09:11 UTC by svierkant
Modified: 2014-10-01 10:49 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
.gitignore (583 bytes, application/octet-stream)
2014-10-01 09:11 UTC, svierkant
Details
screenshot (22.77 KB, image/png)
2014-10-01 09:15 UTC, svierkant
Details

Note You need to log in before you can comment on or make changes to this bug.
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.