Skip to content
GitLab
    • GitLab: the DevOps platform
    • Explore GitLab
    • Install GitLab
    • How GitLab compares
    • Get started
    • GitLab docs
    • GitLab Learn
  • Pricing
  • Talk to an expert
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
    Projects Groups Topics Snippets
  • Register
  • Sign in
  • TortoiseGit TortoiseGit
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • Issues 380
    • Issues 380
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 16
    • Merge requests 16
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • TortoiseGitTortoiseGit
  • TortoiseGitTortoiseGit
  • Issues
  • #2859
Closed
Open
Issue created Nov 04, 2016 by Yue Lin Ho@YueLinHoDeveloper

Can't access remote repository if the URL contains Chinese word

What steps will reproduce the problem?

Clone with remote URL D:\Temp\測試

image

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?

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking