When cloning on with git bash on Windows, getting Fatal: UriFormatException encountered

I am using git bash

$ git --version
git version 2.9..windows.

on Windows 7. When I clone a repo, I see:

$ git clone https://UserName@bitbucket.mycompany.org:5555/scm/repofolder/repo.git
Cloning into 'repo'...
Fatal: UriFormatException encountered.
Fatal: UriFormatException encountered.
Fatal: UriFormatException encountered.
Fatal: UriFormatException encountered.
remote: Counting objects: , done.
remote: Compressing objects: % (/), done.
remote: Total (delta ), reused (delta )
Receiving objects: % (/), 1.53 MiB | 715.00 KiB/s, done.
Resolving deltas: % (/), done.
Checking connectivity... done.

I suspect that some other problems I am experiencing are related to this UriFormatException. Anyone know why the exception might be occurring and how to resolve the issue?

This happens when using GIT for Windows v2.9.3 and using a repository URL that includes a port number. Rollback to v2.9.2 or wait for a fixed version of GIT for Windows.

2.9.3(2) is now available which also fixes this issue github.com/git-for-windows/git/releases/tag/v2.9.3.windows.2

上一篇:centos6.5新增加硬盘挂载并实现开机时自动挂载


下一篇:Eclipse设置保存时自动格式化代码