Skip to content

Error when trying to fetch, clone, pull, push, or "remote show origin" #1742

@DeeDeeG

Description

@DeeDeeG
  • I was not able to find an open or closed issue matching what I'm seeing

Setup

  • Which version of Git for Windows are you using? Is it 32-bit or 64-bit?
$ git --version --build-options

git version 2.18.0.windows.1
cpu: x86_64
built from commit: cd1a74fc9dc8a07626c216940db9a51f25206e03
sizeof-long: 4

(I am running the 64-bit copy of Git for Windows.)

  • Which version of Windows are you running? Vista, 7, 8, 10? Is it 32-bit or 64-bit?
$ cmd.exe /c ver

Microsoft Windows [Version 6.0.6002]

(Windows Vista SP2 64-bit, all Windows Updates installed)

  • What options did you set as part of the installation? Or did you choose the
    defaults?
$ cat /etc/install-options.txt

Editor Option: VIM
Path Option: Cmd
SSH Option: OpenSSH
CURL Option: OpenSSL
CRLF Option: CRLFAlways
Bash Terminal Option: MinTTY
Performance Tweaks FSCache: Enabled
Use Credential Manager: Enabled
Enable Symlinks: Disabled

(Deliberately installed with default options; Pressed only "Next" and "Finish" during install.)

  • Any other interesting things about your environment that might be related
    to the issue you're seeing?

Not sure? Other than the fact that Vista is pretty old.

Details

  • Which terminal/shell are you running Git from? e.g Bash/CMD/PowerShell/other

The issue happens with powershell, cmd.exe, or "Git CMD"; Does not happen with "Git Bash" or "Git GUI".

# [any valid clone command here, can target a truly "remote" remote, or a local remote, eg:] 
git clone https://github.com/git/git
git clone [local-repo-name] [local-repo-name-copy]

# Inside a git repo folder, any of the following (or valid variations thereof):
git pull
git fetch
git push
# or
git remote show origin
  • What did you expect to occur after running these commands?

I expected these commands to complete without returning errors.

  • What actually happened instead?

When cloning from a local git folder to another local git folder:

C:\Users\[my-username]>git clone daala daala-copy

Cloning into 'daala-copy'...
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

C:\Users\[my-username]>fatal: packet write with format failed: Bad file descriptor 

When cloning from a web remote to a local git folder:

C:\Users\[my-username]>git clone https://github.com/git/git
Cloning into 'git'...
fatal: Full write to remote helper failed: Broken pipe

C:\Users\[my-username]>error: remote-curl: error reading command stream from git

(Exact same error messages as above when running git fetch, git pull, git push, or git remote show origin. Happens regardless of whether these commands are run from a local git folder with a web remote, or a local git folder with another local git folder as its "origin" remote.)

  • If the problem was occurring with a specific repository, can you provide the
    URL to that repository to help us with testing?

The issue is not limited to any specific repository.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions