https://git-scm.com/book/ko/v2/Git-%EB%8F%84%EA%B5%AC-Credential-%EC%A0%80%EC%9E%A5%EC%86%8C
api문서 보고 정리 해봤는데 나 맞음?
깃 인증, 안전하게 무효화 하기
Git Credential storage 사용
$ git config --global credential.helper 'cache --timeout <seconds>'
git config --global 커맨드는 ~/.gitconfig 파일을 편집함
.gitconfig 파일 안에는 다음과 같이 저장됨
[credential]
helper = cache --timeout 604800
credential storage는 cache에 저장되며,
캐시이기 때문에 임의로 접근할 수 없고,
숫자 초 만큼 기간동안 인증정보가 저장됨
저장은 인증을 실행하는 순간 실행됨
$ git config --global credential.helper 'store --file ~/.my-credentials'
store 옵션은 인증정보를 파일로 저장해서 위험?