我在使用 SourceTree 推送对 bitbucket 的提交时遇到问题

I'm having issues pushing a commit to bitbucket using SourceTree

git -c diff.mnemonicprefix=false 
    -c core.quotepath=false 
    push -v --tags --set-upstream origin Front-end:Web-Pages
fatal: unable to access 

'https://example@bitbucket.org/example/example.git/': 
  Unknown SSL protocol error in connection to bitbucket.org:443 

Pushing to https://example@bitbucket.org/example/example.git

Completed with errors, see above.

请问我该怎么做?

几个选项:

  1. 遇到服务问题临时回复:

    https://answers.atlassian.com/questions/25142498/unknown-ssl-protocol-error-in-connection-to-bitbucket.org503

  2. 您已超出代理范围

  3. 上述链接之一中建议的配额限制。即使我通过了配额,我也从来没有为自己加冕。


你还能做什么?

验证您使用的 SSL 配置是否正确:

它应该设置为 Open SSH 除非你使用 putty。

我已经找到了解决这个问题的方法。

$ git config --global http.proxy 127.0.0.1:8080

在git中设置代理主机和端口号。