개발/Git

원격 저장소에 디렉토리 삭제

테리 2022. 9. 22. 16:37

1. git$ git rm --cached -r directory_name
    or
    git$ git rm --cached file_name

2. git commit -m "delete directory"

3. git push origin branch_name

 

3번 부분을 진행하지 않으면 원격 저장소에 반영이 되지 않는다.