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

I am using git bash

$ git --version
git version 2.9.3.windows.1

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: 2666, done.
remote: Compressing objects: 100% (1426/1426), done.
remote: Total 2666 (delta 1378), reused 2112 (delta 1047)
Receiving objects: 100% (2666/2666), 1.53 MiB | 715.00 KiB/s, done.
Resolving deltas: 100% (1378/1378), 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

posted @   遥望星空  阅读(1472)  评论(0编辑  收藏  举报
编辑推荐:
· AI与.NET技术实操系列:基于图像分类模型对图像进行分类
· go语言实现终端里的倒计时
· 如何编写易于单元测试的代码
· 10年+ .NET Coder 心语,封装的思维:从隐藏、稳定开始理解其本质意义
· .NET Core 中如何实现缓存的预热?
阅读排行:
· 分享一个免费、快速、无限量使用的满血 DeepSeek R1 模型,支持深度思考和联网搜索!
· 基于 Docker 搭建 FRP 内网穿透开源项目(很简单哒)
· 25岁的心里话
· ollama系列01:轻松3步本地部署deepseek,普通电脑可用
· 按钮权限的设计及实现
历史上的今天:
2010-01-04 SQL0803N INSERT 语句、UPDATE 语句或由 DELETE 语句导致的外键更新中的一个或多个值无效,因为由 "1" 标识的主键、唯一约束或者唯一索引将表
2009-01-04 下载:HD AUDIO For XP SP3修正补丁
2009-01-04 超级兔子现在提供的功能真的太实用了,谢谢!
2009-01-04 U盘几种工作模式的区别(ZIP,FDD,HDD)
点击右上角即可分享
微信分享提示