본문 바로가기
코딩/git

파이참(pycharm)에서 깃허브(github) 연동 시 로그인 안됨

by anjulia 2021. 1. 12.

 

 

파이참에서 깃허브 로그인을 시도 한다. 

File -> Settings -> Version Control -> Github 를 누르면 

아래와 같은 창이 뜬다.

 

 

github 아이디와 패스워드로 로그인 한다.

 

 

 

 

 

이렇게 간단한 건데 왜 내껀 로그인이 안될까?

 

맞는 패스워드인데 계속 404에러가 뜬다.

흥분을 잠시 가라 앉히고 

 

'Enter token'을 누르면 

 

 

 

token을 입력하는 창이 뜬다. 

 

token은 아래 링크를 타고 가서 발급받으면 된다.

 

 

 

github.com/settings/tokens

 

GitHub: Where the world builds software

GitHub is where over 56 million developers shape the future of software, together. Contribute to the open source community, manage your Git repositories, review code like a pro, track bugs and feat...

github.com

 

 

 

 

 

 

Generate new token 버튼을 누른다.

 

 

 

 

 

패스워드를 입력해준다. 

 

 

 

repo, admin:org, gist 를 체크하고 Generate token 을 누른다.

 

 

 

 

 

 

초록색 박스에 있는 게 내가 새로 만든 토큰이다.

 

복사해서 다시 파이참으로 돌아간다. 

 

 

 

로그인 클릭! 

 

 

 

 

 

성공적으로 로그인이 되었다!