Reputation: 5180
I'm using git wit cygwin and I'm also using git via NetBeans. The problem I am having is when I commit changed files with NetBeans, when I run git status
in cygwin, git still shows me the already committed changes. Somehow the git version on cygwin gets out of sync. Is there any way to fix this?
Upvotes: 1
Views: 324
Reputation: 14003
I had the same problem with phpstorm and git bash. My problem was that phpstorm automatically added new files to git, but in git bash they where not added.
In your case: when you create new files with netbeans, it automatically adds them to git, but cygwin doesn't. This is the reason why you have different states in cygwin and netbeans.
It would be much easier to use only netbeans OR cygwin for git commands. Other way you have to do a git add -A
in cygwin, so that your new files are added to git.
Upvotes: 1