2014年11月25日 星期二

git SSL certificate problem: self signed certificate

今天同事使用Git 發生了

Git Pull Failed: fatal: unable to access 'https://git.xxxx.xxx.xx.xxx.git/': SSL certificate problem: self signed certificate

的問題

去你的Repoistory的.git內執行

git config http.sslVerify false

詳情可以參考

http://stackoverflow.com/questions/11621768/how-can-i-make-git-accept-a-self-signed-certificate

沒有留言: