문제

Using Eclipse, EGit and Stash

Trying to push upstream to Stash with EGit, over HTTPS. Stash server has valid SSL cert but hostname doesn't match.

From command line I can work around with GIT_SSL_NO_VERIFY=1. What's the equivalent in EGit?

Thanks.

도움이 되었습니까?

해결책

You can set in your repo git config (which is read by EGit)

cd /path/to/your/repo
git config http.sslVerify false

Or go to Window->Preferences->Team->Git->Configuration, and add it there.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top