개발 & IT/개발 라이프 & 팁
[GIT] vscode git auto login(git credential) 설정
개발자 제식이
2023. 6. 19. 11:27
https://git-scm.com/docs/git-credential-store
Git - git-credential-store Documentation
If not set explicitly with --file, there are two files where git-credential-store will search for credentials in order of precedence: ~/.git-credentials User-specific credentials file. $XDG_CONFIG_HOME/git/credentials Second user-specific credentials file.
git-scm.com
$ git config credential.helper store
위와 같이 설정 후 push했을 때 계정과 비밀번호 입력을 한번 하면
크레덴셜이 디스크에 저장되어 이후로는 입력하지 않아도 된다.
반응형