Как удалить файлы из git индекса

git rm --cached mylogfile.log
git rm --cached -r mydirectory
28 марта 2015, 19:48