Reputation: 15929
Doing git status
returnsnothing to commit, working tree clean
but Netbeans project/files sidebar indicates folders and files Contains add/modified or deleted files
which means Netbeans thinks there are files in the folder that are not commited.
Any ideas how to "sync" git status with Netbeans?
Upvotes: 1
Views: 1330
Reputation: 2972
It could be a bug. It was introduced in NetBeans 11.3 or 11.2 when implementing this improvement (updating jgit to 5.5.0). There is a pull request and probably it will be merged either in 12.0 or 12.1.
Sometimes for a big project, NetBeans doesn't automatically refresh statuses. For me manually asking for status refreshing usually helps.
For refreshing go to the file or project or the parent folder, right-click on the mouse -> git -> show changes -> and click refresh statuses.
Upvotes: 1