Closed amit-kumar-dubey closed 4 years ago
Errors Logs: 13:05:37.218317 exec-cmd.c:237 trace: resolved executable dir: C:/Program Files/Git/mingw64/bin 13:05:37.231282 git.c:439 trace: built-in: git push --set-upstream origin master 13:05:37.245245 run-command.c:662 trace: run_command: GIT_DIR=.git git remote-https origin https://github.com/amit-kumar-dubey/gittest.git 13:05:37.772834 exec-cmd.c:237 trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core 13:05:37.783834 git.c:703 trace: exec: git-remote-https origin https://github.com/amit-kumar-dubey/gittest.git 13:05:37.783834 run-command.c:662 trace: run_command: git-remote-https origin https://github.com/amit-kumar-dubey/gittest.git 13:05:38.332338 exec-cmd.c:237 trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core 13:05:39.424391 run-command.c:662 trace: run_command: 'git credential-manager get' 13:05:40.513402 exec-cmd.c:237 trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core 13:05:40.524341 git.c:703 trace: exec: git-credential-manager get 13:05:40.524341 run-command.c:662 trace: run_command: git-credential-manager get 13:05:59.296724 run-command.c:662 trace: run_command: bash -c 'cat >/dev/tty && read -r line </dev/tty && echo "$line"' 13:06:07.799553 run-command.c:662 trace: run_command: bash -c 'cat >/dev/tty && read -r -s line </dev/tty && echo "$line" && echo >/dev/tty' 13:06:14.848888 run-command.c:662 trace: run_command: 'git credential-manager erase' 13:06:15.962687 exec-cmd.c:237 trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core 13:06:15.974655 git.c:703 trace: exec: git-credential-manager erase 13:06:15.974655 run-command.c:662 trace: run_command: git-credential-manager erase
That looks like something went wrong during those 19 seconds when GCM was open. But without version information and without GCM trace, it is impossible to say what.
@dscho GIT version: Git-2.25.0-64-bit
after setting ---set GIT_CURL_VERBOSE=1; here is the error logs : • 14:23:41.383168 exec-cmd.c:237 trace: resolved executable dir: C:/Program Files/Git/mingw64/bin • 14:23:41.405261 git.c:439 trace: built-in: git push --set-upstream origin master
• 14:23:41.426069 run-command.c:662 trace: run_command: GIT_DIR=.git git remote-https origin https://github.com/amit-kumar-dubey/gittest.git • 14:23:42.048737 exec-cmd.c:237 trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core • 14:23:42.073537 git.c:703 trace: exec: git-remote-https origin https://github.com/amit-kumar-dubey/gittest.git • 14:23:42.073537 run-command.c:662 trace: run_command: git-remote-https origin https://github.com/amit-kumar-dubey/gittest.git • 14:23:42.674808 exec-cmd.c:237 trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core • 14:23:43.599412 run-command.c:662 trace: run_command: 'git credential-manager get' • 14:23:44.762310 exec-cmd.c:237 trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core • 14:23:44.780584 git.c:703 trace: exec: git-credential-manager get • 14:23:44.780584 run-command.c:662 trace: run_command: git-credential-manager get • 14:24:00.901111 run-command.c:662 trace: run_command: bash -c 'cat >/dev/tty && read -r line </dev/tty && echo "$line"' • 14:24:53.961098 run-command.c:662 trace: run_command: bash -c 'cat >/dev/tty && read -r -s line </dev/tty && echo "$line" && echo >/dev/tty' • 14:25:03.674270 run-command.c:662 trace: run_command: 'git credential-manager erase' • 14:25:04.863639 exec-cmd.c:237 trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core • 14:25:04.884934 git.c:703 trace: exec: git-credential-manager erase • 14:25:04.884934 run-command.c:662 trace: run_command: git-credential-manager erase
How about setting GCM_TRACE
?
@dscho yes i did that GCM_TRACE=1
And? Do you see anything from GCM? (I'm on a phone, so I cannot analyze the logs)
@dscho no logs looks the same.
I have resolved this issue only after adding the ssh key and using ssh git url and commands. but not dit not find the solution for https.
Which Version of GIT are you using ?
Which service are you trying to connect to
Expected behavior After pull the code from public repository, i am not able to push the code: Platform(Window 10)- Already uses these command for push : git push --set-upstream origin master, git push , git push origin master and git fetch etc.
What i have already tried:
1 git status 2 git 3 echo "# gittest" >> README.md 4 git init 5 git add README.md 6 git commit -m "first commit" 7 git remote add origin https://github.com/amit-kumar-dubey/gittest.git 8 git push -u origin master 9 set GIT_SSL_NO_VERIFY=true 10 git push -u origin master 11 git config --global http.sslverify "false" 12 git push -u origin master 13 git config --global --unset core.gitproxy 14 git config --global -l 15 git config --global --unset http.proxy 17 git config --global --unset https.proxy 18 git config --system --get https.proxy 19 git config --global --get https.proxy 20 git push -u origin master 21 echo $http_proxy 22 echo $https_proxy 23 echo $HTTPS_PROXY 24 echo $HTTP_PROXY 25 git config --global --unset https.proxy 26 git config --global --list 27 git config --local --list 28 git config --list --show-origin 29 git config --global --list 30 setx GCM_TRACE "" 31 setx GIT_TRACE %UserProfile%\git.log 32 git push -u origin master 33 git status 34 git push 35 git push --set-upstream origin master 36 cls 37 GIT_TRACE=1 38 ssh git@github.com 39 sudo git push --set-upstream origin master 40 ssh -vT git@github.com 41 ssh -T git@github.com 42 GIT_TRACE=1 git fetch origin 43 ping google.com 44 ssh git@github.com 45 setx GIT_TRACE=1 46 setx GIT_TRACE %UserProfile%\git.log 47 setx GCM_TRACE %UserProfile%\git.log
Please help i stuck from last 2days. Thanks,