본문 바로가기
Programming/python

github clone 시 classic token 입력하는법

by 단창 2025. 8. 18.

리모트 서버에 붙어서 git clone을 하는법 

1번방법.
git clone https://github.com/ID/repo_name.git
여기서 password을 github에서 발급받은 토큰을 넣어야 하는데 
터미널 환경에서 비밀번호 붙여넣기가 안되는 경우가 있다. 그럴때는 2번 방법으로. 

2번방법.
git clone https://<PAT>@github.com/ID/repo_name.git
여기서 <PAT> 가 github에서 발급받은 토큰 

 

 

반응형