카테고리 보관물: Superuser

superuser

Windows에서 git bash로 복제 할 때 치명적 : UriFormatException이 발생했습니다. UriFormatException encountered. remote: Counting objects: 2666, done. remote: Compressing

git bash를 사용하고 있습니다.

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

Windows 7에서 리포지토리를 복제하면 다음이 표시됩니다.

$ 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.

다른 문제 가이 UriFormatException과 관련이 있다고 생각합니다. 예외가 발생하는 이유와 문제를 해결하는 방법을 아는 사람이 있습니까?



답변

이는 Windows v2.9.3 용 GIT를 사용하고 포트 번호가 포함 된 저장소 URL을 사용할 때 발생합니다. v2.9.2로 롤백하거나 Windows 용 GIT의 고정 버전을 기다리십시오.


답변

프록시를 설정할 때 사용자 이름과 비밀번호에 기호가 없는지 확인하십시오. 프록시를 설정하는 동안 암호를 청소하면 문제가 해결되었습니다.


답변

같은 문제가 있었다. git을 포함하도록 시스템 git을 변경하고 작업을 시작했습니다.

감사합니다, Basavaraj


답변