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: | Adding files is ignored when going to comit | ||
---|---|---|---|
Product: | versioncontrol | Reporter: | brettryan <brettryan> |
Component: | Git | Assignee: | Ondrej Vrabec <ovrabec> |
Status: | NEW --- | ||
Severity: | normal | CC: | git |
Priority: | P4 | ||
Version: | 8.2 | ||
Hardware: | PC | ||
OS: | Mac OS X | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
brettryan
2016-09-05 05:11:05 UTC
(In reply to brettryan from comment #0) > The Git action "Add" (Git > Add) on a project node does not affect what is > being committed with a commit. It should. You're probably looking at a wrong view in the commit dialog - you must be in HEAD/Working Tree mode. If you switch to HEAD/Index mode, you will be able to commit only the files you have added. Git Add is useful, mainly for those who understand how Git staging index works, so removing it does not sound like a good message to them. Also it's useful when you're resolving conflicts during merge in which case git add is the command that resolves the conflict. Hmm, ok. It appears the default view is HEAD/Working, those two buttons are fairly discrete to be missed as they are tiny icons, I would recommend at least adding text beside them to make the interface more understandable. I normally don't use the NetBeans Git interface because I find it too clumsy for accessibility users and it's much faster to use the command line. I was performing a NetCAT test where this was picked up. Being a command line user I do understand the staging principal, but from a UI perspective I would imagine that the tick-boxes would represent the staging itself. |