WSL git에서 username과 password 관리하기

tkppp·2021년 12월 16일
0

WSL Linux에서는 libsecret으로 키체인 사용이 왠진 모르지만 불가하기 때문에 편법으로 윈도우 git의 키체인 매니저를 사용한다. push와 clone 속도가 느리긴 해도 잘된다.

$ git config --global credential.helper "/mnt/c/Program\ Files/Git/mingw64/libexec/git-core/git-credential-manager-core.exe"

참조
OS별 키체인 등록 방법 : https://blog.neonkid.xyz/277
WSL에서 키체인 사용 불가에 따른 편법 : http://pinedance.github.io/blog/2021/02/07/WSL-git-keychain

0개의 댓글