如何让Git推/拉Windows 7防火墙?

Jon*_*com 7 git firewall windows-firewall windows-7

我的防火墙配置为拒绝所有入站和出站流量,除非规则另有说明.

Firewall Profile截图

这个答案建议制定规则git.exe,sh.exessh.exe.所以我做了.甚至bash.exe.

防火墙规则截图

我跑的时候仍然git pull看到:

fatal: unable to access 'https://joncom@bitbucket.org/joncom/my-repo.git/': Failed connect to bitbucket.org:443; No error

如果我默认允许出站连接,一切正常.

Firewall Profile截图

我错过了什么规则?

Jon*_*com 18

我需要添加规则,git-remote-https.exe因为我通过HTTPS进行身份验证,而不是SSH.

在新版本的git上,它位于:C:\Program Files\Git\mingw64\libexec\git-core\git-remote-https.exe.

编辑:其实我禁用了规则git.exe,sh.exe,ssh.exe,和bash.exe,仍然一切正常,所以他们似乎没有必要,我的目的.