ignore (1) 썸네일형 리스트형 Github에 잘 못 올라간 파일 삭제하기 --cached를 이용해서 github server의 파일 만 삭제할 수 있다. $ git rm --cached db.sqlite3 rm 'db.sqlite3' $ git rm --cached SunnyBlog/settings.py rm 'SunnyBlog/settings.py' 이후에 git status 확인하고 Commit 하고 push 하면 로컬에는 남아 있고 github에서는 지워진다. $ git status On branch main Your branch is up to date with 'origin/main'. Changes to be committed: (use "git restore --staged ..." to unstage) deleted: SunnyBlog/settings.py de.. 이전 1 다음