gitolite repo名称可以是中文或其他语言但不是英文

时间:2014-01-07 02:28:32

标签: git repository

所有测试都在

  • Windows8 x64
  • msysgit 1.8.5.2.msysgit.0
  • gitolite 3.5

我在gitolite.conf中添加一个repo后:

repo 中文
    RW+     =   @admin

我提交后,推送操作成功,但行不正确。

Counting objects: 7, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (3/3), done.
Writing objects: 100% (4/4), 343 bytes | 0 bytes/s, done.
Total 4 (delta 1), reused 0 (delta 0)
remote: FATAL: bad reponame 'ÖÐÎÄ'
To git@financeserver.landi.landicorp.com:gitolite-admin
   409ac7a..17fa9bb  master -> master

请注意以下内容:

remote: FATAL: bad reponame 'ÖÐÎÄ'

当我克隆gitolite-admin项目时,我可以看到推送成功。

但是当我用git bash克隆中文名称的回购时,它会失败。

$ git clone financeserver:中文

Cloning into '中文'...
FATAL: invalid repo name: '中文'
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

我可以确保我拥有任何非中国回购的访问权。

是否有添加中文名称的回购的解决方案? THX。

0 个答案:

没有答案