Open astrohart opened 1 year ago
That's not very much information to go on. Maybe you can spot anything suspicious in the output of git push
when running with GIT_TRACE_CURL=1
.
@astrohart What remote host is your repo using?
In Visual Studio, we've seen some reports of slow performance with Git for Windows 2.41.0.3. But nothing yet on 2.42.
I'm trying to correlate and see if this could have been a problem with some Git web hosts that recently popped up.
Using https://github.comNot sure what else you would be referring to. Perhaps I’d speculate that there is extraneous pinging or multi factor auth going on. I have no idea if this is the case, just throwing random things out there. BrianOn Sep 20, 2023, at 11:16, Luke Hansen @.***> wrote: @astrohart What remote host is your repo using? In Visual Studio, we've seen some reports of slow performance with Git for Windows 2.41.0.3. But nothing yet on 2.42. I'm trying to correlate and see if this could have been a problem with some Git web hosts that recently popped up.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>
Maybe you can spot anything suspicious in the output of git push
when running with GIT_TRACE_CURL=1
.
I am fixing this issue temporarily, by downgrading to Git 2.37.2. I have not experienced the same issue with that version of Git. Is there any way I can put diagnostic info on this thread, from that version of Git? I am on Windows 10. I am not 100% sure what sort of diagnostics would be useful, so I am open to input.
Is there any way I can put diagnostic info on this thread, from that version of Git?
That would be the GIT_TRACE_CURL=1
thing I mentioned earlier, I think.
Thanks, I will try it the next time I do a Git operation. Thank you.
I was having this problem. Using the trace options, I found that the operation that lasted the longer was the ssh. Using git pull --ipv4
I noticed it was not as slow as before.
So what fixed the problem was forcing github.com to use ipv4 in the ssh_config.
Host github.com
AddressFamily inet
I was having this problem. Using the trace options, I found that the operation that lasted the longer was the ssh. Using
git pull --ipv4
I noticed it was not as slow as before. So what fixed the problem was forcing github.com to use ipv4 in the ssh_config.Host github.com AddressFamily inet
That strikes me as a pragmatic work-around and valuable information for users who are in the same situation as you are. Thank you @pedrohgmacedo!
@dscho It would be very useful to have a config option to force ipv4/6, just like the command switch.
I agree with @pedrohgmacedo
It would be very useful to have a config option to force ipv4/6, just like the command switch.
If this was a feature request, you might be better off taking it to the Git mailing list (send plain-text messages, HTML messages are dropped silently), as it has literally nothing Windows-specific about it.
You may also want to word it in a way designed to entice somebody else to implement this, or at least to help you implementing the feature.
Setup
Which version of Git for Windows are you using? Is it 32-bit or 64-bit?
Which version of Windows are you running? Vista, 7, 8, 10? Is it 32-bit or 64-bit?
Editor Option: VIM Custom Editor Path: Default Branch Option: Path Option: Cmd SSH Option: OpenSSH Tortoise Option: false CURL Option: OpenSSL CRLF Option: CRLFAlways Bash Terminal Option: MinTTY Git Pull Behavior Option: Merge Use Credential Manager: Enabled Performance Tweaks FSCache: Enabled Enable Symlinks: Disabled Enable Pseudo Console Support: Disabled Enable FSMonitor: Disabled
git push -u origin master