Can't access remote repository if the URL contains Chinese word
What steps will reproduce the problem?
Clone with remote URL D:\Temp\測試
What is the expected output?
Can clone it.
What do you see instead?
Show the error:
git.exe clone --progress -v "D:\Temp\測試" "D:\Temp\test1"
Cloning into 'D:\Temp\test1'...
"git-upload-pack 'D:\Temp\測試'": git-upload-pack 'D:\Temp\測試': No such file or directory
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
What version of TortoiseGit and Git are you using? On what operating system?
TortoiseGit 2.3.2 + Git for Windows 2.10.2
.windows.1 on Win7 64 Pro
Please provide any additional information below.
Also can't fetch (Created a new repository, named with Chinese word and add it to remote)
git.exe fetch -v --progress "ChineseWordRepo"
"git-upload-pack 'D:/Temp/測試'": git-upload-pack 'D:/Temp/測試': No such file or directory
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
And can't push (rename a bare repo from Test.git
to Test測試.git
)
git.exe push --progress "test" master
"git-receive-pack 'D:/Temp/Test測試.git'": git-receive-pack 'D:/Temp/Test測試.git': No such file or directory
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
And
- TGit 2.3.2 + GfW
2.10.0
, clone/fetch/push, all of them work fine. - TGit 2.3.2 + GfW
2.10.2
, if all English words, then all work fine. - GfW
2.10.2
CLI
, fetch with Chinese URL works fine.
Not sure if the root cause is on Git for Windows or on TortoiseGit. Found it few weeks ago when using GfW 2.10.1
(So, 2.10.0 is last good) , and now bring it up for discussion.
Any idea?