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: | plugin automatically adds nbproject/private to local .gitignore | ||
---|---|---|---|
Product: | versioncontrol | Reporter: | bfenton |
Component: | Git | Assignee: | Ondrej Vrabec <ovrabec> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | git |
Priority: | P3 | ||
Version: | 7.0.1 | ||
Hardware: | Macintosh (x86) | ||
OS: | Mac OS X | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | Example .gitignore file |
Description
bfenton
2011-06-15 19:10:37 UTC
Please attach the copy of your global ignore file. Created attachment 108918 [details]
Example .gitignore file
I tried setting up a new project with just nbproject and also with nbproject/private added, in both cases it still modifies the project's local .gitignore
(In reply to comment #2) > Created an attachment (id=108918) [details] > Example .gitignore file Where is the file located and what is the excat path to the file? Is it really named .gitignore? In my case it's located at ~/.gitignore, although you can specify any file as your global git ignore file with a line like this: git config --global core.excludesfile ~/.gitignore Just set it to whatever file name/location you like and git will honor it. In the meantime (until it's fixed), just disable the option in Tools -> Options -> Misc -> Versioning -> Git (Automatically ignore non-sharable files) I'll try that, thanks. For any OS X users the preference is called "Permanenly ignore not-sharable folders", typo faithfully reproduced. Integrated into 'releases' Changeset: http://hg.netbeans.org/releases/rev/073508252d03 User: Ondrej Vrabec <ovrabec@netbeans.org> Log: Issue #199443 - plugin automatically adds nbproject/private to local .gitignore Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/62fd115294b8 User: Ondrej Vrabec <ovrabec@netbeans.org> Log: Issue #199443 - plugin automatically adds nbproject/private to local .gitignore |