Git 특정 폴더 이력 제거하기 (Ubuntu 20.04, Git 2.25.1 기준): docs/ 폴더를 모든 커밋에서 완전히 삭제 (filter-repo / filter-branch)
Ubuntu 20.04(Git 2.25.1) 환경에서 git filter-repo가 인식되지 않을 때, Git 업그레이드(ppa:git-core/ppa)와 git-filter-repo 설치(pip), 그리고 docs 폴더를 모든 커밋 히스토리에서 제거하는 방법(filter-repo / filter-branch)을 단계별로 정리했습니다.Ubuntu 20.04 Desktop에서 git filter-repo를 쓰려고 했더니 git: 'filter-repo' is not a git command가 뜨고, Git 버전은 2.25.1.이 조합, 생각보다 흔합니다. 그리고 해결 순서가 정해져 있어요.이 글은 Ubuntu 20.04 + Git 2.25.1이라는 제약을 전제로, docs/ 같은 특정 폴더를 전체 히스토리..