有兩個麻煩的地方:
- username, password
- SSL certification
把 machine, login, password 寫進去:
machine my.git.com login checko password mygitpassword.. 對,是明文 ..
site SSL certification fail 就會出現...
Initialized empty Git repository in /xxxx/xxxx/.git/ Password: error: server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none while accessing https://xxxx@xxxx.xxxx/xxxx/xxxx.git/info/refs fatal: HTTP request failed這時候就加上這個還就可以:
export GIT_SSL_NO_VERIFY=1
沒有留言:
張貼留言