Git / silence cygwin

I have a personal / private bitpack repository that I am trying to clone. When I clone from an Ubuntu window, I can clone the repository:

$ git clone https://<user>@bitbucket.org/<user>/<repo>.git Cloning into '<repo>'... Password for 'https://<user>@bitbucket.org': remote: Counting objects: 586, done. remote: Compressing objects: 100% (519/519), done. remote: Total 586 (delta 65), reused 583 (delta 65) Receiving objects: 100% (586/586), 2.55 MiB | 650 KiB/s, done. Resolving deltas: 100% (65/65), done. 

However, when I try to execute the same command from cygwin, I get a silent failure:

 $ git clone -v --progress https://<user>@bitbucket.org/<user>/<repo>.git Cloning into <repo>... 

And then git will come out. I spent an hour trying to track this, but silent errors are hard for Google.

Things I tried:

  • reinstall git in cygwin
  • downgrade git in cygwin
  • delete and restore the .gitconfig file
  • echo $? prints 141 (maybe related to SIGPIPE?)
  • GIT_CURL_VERBOSE setting did not produce added output

Note: git version 1.7.5.1

Does anyone have an idea of ​​what could be happening here?

edit / update

Unable to find a solution to the problem, I completely reinstalled cygwin and the problem seems to be gone.

+8
git cygwin
source share
2 answers

As a workaround, consider installing Github for Windows by right-clicking in the explorer the directory you want to clone into and select Git Bash here. Then clone the repository using Git Bash. It's good that Cygwin git, Github for Windows, and Git Bash can access the same repository (they interact with the same .git directory), so they will not compress each other. If the clone in Git Bash succeeds, you can perform regular operations in Cygwin.

The fourth parameter to get working Git in this directory is to use tramps.

0
source share

I ran into the same problem.

Installing the ca-certificates package solved the problem for me.

0
source share

All Articles