$git rm -rf 폴더명
$git commit -m "delete folder"
$git push -u origin branch명
$git rm --cached -r bin/
$git commit -m "delete folder"
$git push -u origin branch명
$git rm 파일.확장자
$git commit -m "delete file"
$git push -u origin branch명
commit하지 말아야 할 파일 commit했을 경우(ex.target, .class...)
$git rm --cached file.확장자
$git commit -m "delete file"
$git push -u origin branch명
$ git rm -r *.확장자
$git rm -r --cached .
$git add .
$git commit -m "fixed untracked files"
$git push