无法克隆到磁盘模仿为SFTP驱动器克隆

我在Win7下,并试图git clone代表我的Z:磁盘。 磁盘Z:通过SFTP(连接到本地的FreeBSD服务器)使用SFTP Net Drive Free实用程序。

当我试图git clone到我的本地C:盘 – 一切工作正常,但是当我试图git clone到磁盘Z: git报告错误:

 cd z: $ git clone [email protected]:rep.git Cloning into 'rep'... error: could not commit config file z:/rep/.git/config error: could not commit config file z:/rep/.git/config error: could not commit config file z:/rep/.git/config error: could not commit config file z:/rep/.git/config error: could not commit config file z:/rep/.git/config error: could not commit config file z:/rep/.git/config fatal: 'origin' does not appear to be a git repository fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. 

我试图从github克隆一些公共回购:

 $ cd c: $ git clone https://github.com/nicolasff/phpredis.git Cloning into 'phpredis'... remote: Counting objects: 3703, done. remote: Compressing objects: 100% (1578/1578), done. remote: Total 3703 (delta 2286), reused 3512 (delta 2114) Receiving objects: 100% (3703/3703), 1.43 MiB | 264.00 KiB/s, done. Resolving deltas: 100% (2286/2286), done. Checking connectivity... done 

但与Z:相同的错误Z:

 $ cd z: $ git clone https://github.com/nicolasff/phpredis.git Cloning into 'phpredis'... error: could not commit config file z:/phpredis/.git/config error: could not commit config file z:/phpredis/.git/config error: could not commit config file z:/phpredis/.git/config error: could not commit config file z:/phpredis/.git/config error: could not commit config file z:/phpredis/.git/config error: could not commit config file z:/phpredis/.git/config fatal: 'origin' does not appear to be a git repository fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. 

有任何想法吗? 先谢谢你!