git (2) 썸네일형 리스트형 Github에 업로드한 파일을 지워보자 지난 포스팅에서 특정파일만 commit에서 지우는 명령어에 대해서 업로드 하였습니다. Git에 commit한 파일 기록 삭제하기해당 파일이 기록된 커밋 강제로 삭제하기 git filter-repo --path "lib/test copy.dart" --invert-paths --force 이후 Github와 연결이 끊겼기 때문에 다시 연결해주기git remote add origin https://github.com/your-username/your-rebeomsuong.tistory.com 이번 포스팅에서는 실제 제 프로젝트중 잘못 commit되어 업로드된 파일이 있어서 해당 파일을 지워보도록 하겠습니다. 과거 강의를 들으며 html과 Firebase를 이용한 강의였는데 HTML에서는 env파일을 사용 .. Git에 commit한 파일 기록 삭제하기 해당 파일이 기록된 커밋 강제로 삭제하기 git filter-repo --path "lib/test copy.dart" --invert-paths --force 이후 Github와 연결이 끊겼기 때문에 다시 연결해주기git remote add origin https://github.com/your-username/your-repository.git 이후 강제로 푸시git push origin --force 이전 1 다음