git 이용시 매번 암호 정보를 묻는 경우 아래 링크 참조.
https://www.hahwul.com/2018/08/22/git-credential-helper/
Git pull/push 시 Password 물어보지 않도록 설정하기(credential.helper)
git을 쓰다보면 간혹 config 미스, 환경 변경으로 push/pull 등 기능 실행 시 계정과 패스워드를 물어보는 경우가 발생합니다.
www.hahwul.com
보안을 위해서는 credential store 보다는 cache 를 사용하는게 좋을 듯 하다.
https://git-scm.com/docs/git-credential-cache
Git - git-credential-cache Documentation
If you would like the daemon to exit early, forgetting all cached credentials before their timeout, you can issue an exit action: git credential-cache exit
git-scm.com
'--local' 옵션으로 해당 repository 에만 적용하는게 가능하다.
반응형
'프로그래밍 > git' 카테고리의 다른 글
소스코드 이동 후 Git Repository 변경 (log 유지) (0) | 2021.09.22 |
---|---|
Git 인증 실패시 (fatal: Authentication failed for ...) (0) | 2021.09.07 |
GitHub personal access token (0) | 2021.09.07 |