깃허브(GitHub)에서는 ID / password 기반의 Authentication(인증)을 지원하지 않고,
ID / Personal Access Token 방식의 Token Authentication 방식을 요구하고 있습니다.
Sourcetree에 계정을 로그인하려면 깃허브 ID와 Personal Access Token 가 필요합니다.
이제부터 소스트리(Sourcetree)에서 요구하는 깃헙의 access token을 생성하는 방법을 알아보겠습니다.
1. Settings
깃헙(https://github.com/)에 로그인 후
오른쪽 상단에 아이콘 클릭 → 'settings' 클릭
2. Developer settings
왼쪽 하단에 'Developer settings' 클릭
3. Personal access tokens
Personal access tokens → Tokens(classic) → Generate new token → Generate new token(classic)
3. Generate new tokens
4. Personal access tokens 확인하고 저장하기.
파란 박스안에 문구처럼 token은 더이상 볼 수 없으니 복사해서 따로 관리해주는게 좋습니다.
깃허브 계정을 인증할 때 계정 로그인 password가 아닌 발급받은 personal access token를 사용합니다.
'Git' 카테고리의 다른 글
[SourceTree] Branch(브랜치) 변경하기 (2) | 2023.10.10 |
---|---|
[Sourcetree] 소스트리 원격 아이콘 느낌표 없애기 (0) | 2023.06.21 |
[Sourcetree] 소스트리 실행이 되지 않을 때(설정 살리기) (0) | 2023.06.15 |
[Sourcetree] 제거(Remove), 폐기(Discard) 차이점 (0) | 2022.11.30 |
[Sourcetree] Bitbucket Google 계정 Clone 하는 방법 (0) | 2022.11.21 |