git 인증 정보 저장 및 초기화

Ryan Yang·2022년 1월 10일
0

저장

깃 인증 정보를 저장하여 다시 물어보지 않도록 하기

git config credential.helper store

깃 인증 정보 초기화

git config --unset credential.helper

캐시

일정 시간동안 비밀번호 묻지 않도록 하기 (기본값은 15분)

git config credential.helper cache
git config credential.helper 'cache --timeout=3600'

캐시 인증 정보 종료

git credential-cache exit

git GUI 인증 초기화 (Fork, Gitkraken 같은)

맥에서 git GUI 클라이언트 인증 정보 초기화

Cmd + Space -> keychain Access.app 후 해당 인증 정보 우클릭하여 삭제

참고

0개의 댓글