(수정: 2026년 5월 24일)
1

GitHub 잘못된 커밋 이메일 복구하기 (잔디 복구) 🌿

GitHub 잘못된 커밋 이메일 복구하기 (잔디 복구) 🌿

자동화 스크립트

1brew install git-filter-repo
1git filter-repo --commit-callback ' 2if commit.author_name != b"dependabot[bot]": 3 commit.author_name = b"<깃허브 닉네임>" 4 commit.author_email = b"<깃허브 이메일>" 5if commit.committer_name != b"dependabot[bot]": 6 commit.committer_name = b"<깃허브 닉네임>" 7 commit.committer_email = b"<깃허브 이메일>" 8'

내 이름과 이메일이 아닌 커밋을 내 커밋으로 변경하는 스크립트다.

적용 결과

1.png 2.png 3.png 4.png 5.png 6.png 7.png 8.png 9.png 10.png 11.png 12.png 13.png 14.png 15.png 16.png

Comments