개발/Git

[Sourcetree] We couldn't connect to GitHub with your (username) credentials.

leebera_ 2021. 8. 8. 21:22

소스트리에 계정 등록할 때 인증 방식을 basic으로 하여 아이디와 비밀번호를 입력한 뒤 저장했을 때 발생

 

해결법

github - settings - developer settings - personal access tokens에서 토큰을 생성한 뒤 나오는 토큰 값을 복사하여 비밀번호로 넣어 저장

 

토큰 값을 비밀번호로 넣는 방식이 2021년 8월 13일 부로 삭제

 

 

[Sourcetree] remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token inst

원인 2021년 8월 13일 부로 토큰 값을 비밀번호로 사용하던 인증 방식이 삭제되어 바뀐 방식으로 인증 필요 해결법 설정 클릭하여 아래 창 열기 원격 저장소 경로 누른 뒤 편집 버튼 클릭 URL을 아

leeseongho.tistory.com

위 글의 방식을 시도해주세요.

 


 

참고

 

Can't login to GitHub from SourceTree anymore

I was able to login up until today when it just stopped working. I'm using a Windows 7 machine. I have 2-factor authentication. I've tried personal access tokens. I've tried deleting my credentials...

stackoverflow.com