개발

[git] git clone시 아이디, 비밀번호 입력

Fine애플 2021. 4. 6. 18:33

git clone시 repository 주소와 함께 사용자 아이디를 함께 입력할 때가 있다.

 

1) 아이디만 입력

git clone https://username@github.com/username/repository.git

 

2) 아이디, 패스워드 입력

비밀번호가 노출되기 때문에 권고되는 방법은 아니다.

git clone https://username:password@github.com/username/repository.git
728x90
댓글수0