git version 1.7.4.1
I am using git on Ubuntu.
I have copied some files from another directory to my git working directory. Normally would appear under Untracked files
. However, they do not appear. So I cannot add them.
When I do a git status
the new files are not shown.
I tried to add them by doing git add source.c
then tried git status
. The file was not show.
So I opened the file and did a save as
as the same name. git status still failed to see the file.
I have done a git ls-files
and the new files are shown ok.
I have checked the file permissions and they are the same as all the current files in my git directory.
I have never had this problem before.
Many thanks for any suggestions,