Tool
[git] git clone할 때 yes/no 안 물어보게 설정하기
'김용환'
2017. 2. 1. 16:18
git clone할 때, yes/no 질문을 물어보지 않도록 설정할 수 있다.
$ git clone http://github.com/afasdfas
Are you sure you want to continue connecting (yes/no)?
~/.ssh/config에 다음 내용을 추가한다. ansible이나 capistano에서 적절히 스크립트로 만든다.
Host github.com
StrictHostKeyChecking no
그리고 다시 git clone하면 잘 동작한다.
$ git clone http://github.com/afasdfas
....