Reputation: 6292
I am having a problem with the Git Gui on vista. If I modify a .php file I can click "rescan" and the files will show as changed and then I can commit the file in question. However when I modify any HTML or CSS file I do not get this option.
Any ideas ?
Upvotes: 2
Views: 4700
Reputation: 1326016
Are those html
and css
files tracked? (i.e. have they been added and committed before?)
Because if they aren't, git-gui shows untracked files as "changed but not updated".
And you cannot commit untracked files. You should have the option to add them though.
For EGit (Git in Eclipse), see this tutorial, as well as Eclipse wiki EGit tutorial:
Each file in the working directory can either be tracked or untracked.
When you first clone a repository all files in the working directory will be tracked and unmodified since they have been freshly checked out and you didn't start editing them yet.
As you edit files git will recognize they are modified since you have modified them since the last commit. You stage the modified files into the index and then commit the staged changes and the cycle repeats.
Upvotes: 2