git config --global --list 실행시
뭔가 좀 꼬여가지고 대충 아래와 같이 나오는 상황이었는데
credential.helper 를 지우고 싶었습니다...
filter.lfs.clean=git-lfs clean -- %f
filter.lfs.smudge=git-lfs smudge -- %f
filter.lfs.process=git-lfs filter-process
filter.lfs.required=true
credential.helper=cache
git config --global --unset credential.helper
git credential-cache exit
위 명령어는 글로벌 Git 설정에서 credential.helper 항목을 삭제하고 캐시된 인증 정보도 삭제합니다.
macOS 키체인 사용
git config --global credential.helper osxkeychain
근데 이 설정했다가 .ssh 에 뭔가 꼬였을 때 git push, pull 다 안된적이 있었습니다...
뭐가 문제였을지 더 찾아봐야겠지만 아마도 ssh 로 여러 github 아이디 사용하려다가 문제가 생겼던 것 같아요.
(현재는 .ssh 숨김폴더의 설정들 다 깨끗하게 초기화함)
'git' 카테고리의 다른 글
[240705 TIL] 깃헙 여러 계정 사용(맥) (5) | 2025.07.05 |
---|---|
[250222 TIL] rebase, merge 비교 (0) | 2025.02.22 |
[240418 TIL] git merge / git rebase (0) | 2024.04.18 |