问题
This is regarding the unresponsiveness of simple git commands when working on local repositories over a VPN. My windows user account (admin role) is a domain account that I use to logon.
I have some local respositories that is cloned from a github origin.
Scenario 1: Working with Local Repository on windows without VPN. Simple Commands like git-gui, git log etc work flawlessly.
Scenario 2: Working with the same local repo on widows WHILE CONNECTED to a vpn The same simple commands dont work at all!! It takes forever to show an output. git log -2 takes 10 whole minutes vs 1 second without VPN.
My observation: When we execute git commands, other proceses like less.exe, ssh.exe are started which take a lot of time to respond. Is it because the system is trying to reach my windows domain for authentication which is unreachable from VPN network?
Any way to fix this?
Additional Data that might help: I have services which are owned by my domain account. When connected via VPN, an attempt to start any of those services takes forever to start because it is tryign to reach my windows domain account for authentication which is unreachable via the VPN.
来源:https://stackoverflow.com/questions/38550893/git-unresponsive-when-used-over-vpn-on-windows-7