github - September 04, 2020 · 1 min read

VSCode GitHub 사용할 때 자주 GitHub 계정 로그인 요청한다면?

VSCode 사용 중에 GitHub 로그인을 계속 요청한다?

귀찮은 일이다. 매번 하다가 열받아 한 번 찾아봤다.

Caching your GitHub credentials in Git

If you’re cloning GitHub repositories using HTTPS, you can use a credential helper to tell Git to remember your credentials. If you clone GitHub repositories using SSH, then you authenticate using an SSH key instead of using other credentials. For information about setting up an SSH connection, see “Generating an SSH Key.” You can also install a native Git shell, such as Git for Windows. With Git for Windows, running the following in the command line will store your credentials:

$ git config --global credential.helper wincred

시도해 보고, 안되면 다른 방법을 또 찾아봐야지 ^-^