카테고리 없음
netrc 만들기 예시
'김용환'
2019. 5. 23. 18:36
linux, mac에서 마음대로 git clone https:// 사용 가능하다. 특히 젠킨스에서 많이 활용한다.
먼저 비밀 토큰을 생성한다.
https://help.github.com/en/articles/creating-a-personal-access-token-for-the-command-line
Creating a personal access token for the command line - GitHub Help
Creating a personal access token for the command line You can create a personal access token and use it in place of a password when performing Git operations over HTTPS with Git on the command line or the API. A personal access token is required to authent
help.github.com
그 다음 .netrc를 생성한다.
$ vi ~/.netrc
machine github.kakaocorp.com
login <비밀키>
잘 동작하는 볼 수 있다.