commit 하고 push 하려고 하면 아이디와 암호를 계속 물어본다.
처음에 아이디와 토큰을 넣고 이제부터 되겠지 하지만, 다시 push 하면 재차 물어본다.
아래 명령어로 해당 문제를 해결할 수 있다.
git config --global credential.helper store
혹은 현재 세션으로 제한하거나 시간을 제한할 수 있다.
git config --global credential.helper cache
OR
git config --global credential.helper 'cache --timeout=600'
출처 :
https://www.freecodecamp.org/news/how-to-fix-git-always-asking-for-user-credentials/
'useful' 카테고리의 다른 글
setting build environment of vscode (0) | 2022.10.12 |
---|---|
Add weather into google calendar (0) | 2022.09.18 |
Cannot resolve symbol 'Properties' (2) | 2022.09.09 |
flutter SDK version error (0) | 2022.09.05 |
캡쳐 및 스케치 (0) | 2022.07.16 |