Skip to content

Git Push Not working for git:// protocol servers #907

Closed
@johnnyb

Description

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

There appears to be some bug when pushing to git:// protocol for repositories. I believe this is a carryover from msys-git, but no one has logged a bug in the new system. This URL ( http://pete.akeo.ie/2011/07/git-remote-repository.html ) refers to the bug, and said it was bug 457 in the old system. However, the page that it references is now gone now that you all have moved to github.

I searched this issue tracker for the issue but was unable to find it. Anyway, the report is below. I am working around the issue by pushing to a Mac laptop that can then push to the server.

Setup

  • Which version of Git for Windows are you using? Is it 32-bit or 64-bit?
    2.10.1.windows.1 64-bit
$ git --version --build-options
git version 2.10.1.windows.1
sizeof-long: 4
machine: x86_64
  • Which version of Windows are you running? Vista, 7, 8, 10? Is it 32-bit or 64-bit?
    Windows 10 64-bit
$ cmd.exe /c ver
Microsoft Windows [Version 10.0.14393]
  • What options did you set as part of the installation? Or did you choose the
    defaults?
    defaults
# One of the following:

> type "C:\Program Files\Git\etc\install-options.txt"
> type "C:\Program Files (x86)\Git\etc\install-options.txt"
> type "%USERPROFILE%\AppData\Local\Programs\Git\etc\install-options.txt"
> $ cat /etc/install-options.txt
> Path Option: CmdTools
> SSH Option: OpenSSH
> CRLF Option: CRLFAlways
> Bash Terminal Option: ConHost
> Performance Tweaks FSCache: Enabled
> 
> 
  • Any other interesting things about your environment that might be related
    to the issue you're seeing?

    None - just did a fresh install to be sure

Details

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

    CMD I believe, but I'm used to UNIX-y environments so I'm a bit out of sorts.

  • What commands did you run to trigger this issue? If you can provide a
    Minimal, Complete, and Verifiable example
    this will help us understand the issue.

git push --set-upstream origin master
This occurs when origin is set to the "git://" protocol.
  • What did you expect to occur after running these commands?

    I expected it to push

  • What actually happened instead?

    It gets stuck "Writing Objects". Depending on the particular push, it may get a different percentage of the way done.

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

    It is an internal repository of a client of mine, so no.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions