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

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值