[Git] 삭제된 폴더, 파일 반영![](https://tistory1.daumcdn.net/tistory_admin/blogs/image/category/new_ico_1.gif)
![](https://tistory1.daumcdn.net/tistory_admin/blogs/image/category/new_ico_1.gif)
·
Dev/Git & GitHub
git add 시 로컬에서 삭제한 폴더나 파일이 반영되지 않는 경우가 있다. 이를 해결하기 위해 다음 명령어를 사용한다.git add -u [file or .] 추가로, commit 시 -a 옵션을 사용하면 삭제된 폴더, 파일만 반영된다.git commit -a -m "feat: ..."