git удалить папку удаленно
git rm -r --cached <folder>
git commit -m "Removed Folder"
git push origin master
Concerned Chipmunk
git rm -r --cached <folder>
git commit -m "Removed Folder"
git push origin master
git clean -df
git checkout -- .
#For a single file:
git rm --cached mylogfile.log
#For a single directory:
git rm --cached -r mydirectory
$ git rm --cached giant_file
// Stage our giant file for removal, but leave it on disk
$ git rm --cached filename
git rm --cached file1.txt
git commit -m "remove file1.txt"