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.
Summary: | Git push ignoring .gitignore | ||
---|---|---|---|
Product: | versioncontrol | Reporter: | nestoracevedo <nestoracevedo> |
Component: | Git | Assignee: | Ondrej Vrabec <ovrabec> |
Status: | NEW --- | ||
Severity: | normal | CC: | git |
Priority: | P3 | ||
Version: | 8.2 | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | IDE log |
Description
nestoracevedo
2016-12-02 19:13:38 UTC
Created attachment 163134 [details]
IDE log
Are you saying that even though the files are ignored by .gitignore, they are committed into the repo when you do Git->Commit? What is the pattern inside .gitignore? And what is the file's path? (In reply to Ondrej Vrabec from comment #2) > Are you saying that even though the files are ignored by .gitignore, they > are committed into the repo when you do Git->Commit? What is the pattern > inside .gitignore? And what is the file's path? Yes, I had to put a new .gitignore inside the directory where files to be ignored resides currently to ignore them. Files full path are: /home/my-directory/public_html/app/config/app.php /home/my-directory/public_html/app/config/session.php /home/my-directory/public_html/app/config/cache.php So in the .gitignore file on root project I had: app/config/app.php app/config/session.php app/config/cache.php Doing a git via konsole these files are correctly ignored but Netbeans tracks constantly the files on git add - git commit on IDE, then when they are listed on commit dialog I had to uncheck these files for ignoring. |