I have initialized a directory with git:
git init
And then added all the files:
git add .
After that, I manually (through OS) renamed one directory (from Attr
to attibutes
).
Then I continued my coding, now that I want to commit the changes, it says:
Changes not staged for commit:
deleted Attr/file.jpg
/..... a list of similar files which are in renamed directory
How should I solve this problem? I did:
git update-index
But it did neither work.