Git错误:fatal: could not create work tree dir 'XXX' No such file or directory

Git异常:fatal: could not create work tree dir 'XXX': No such file or directory

DNT@DESKTOP-PTACRF6 MINGW64 ~/Windows10 (master)
$ git clone git@github.com:dunitian/IPToPosition.git
fatal: could not create work tree dir 'IPToPosition': No such file or directory

Git错误:fatal: could not create work tree dir 'XXX' No such file or directory

这个看一下执行目录的路径==>~/Windows10 (master)

 

切换到根目录:cd ~

 

再输入指令就ok了

DNT@DESKTOP-PTACRF6 MINGW64 ~
$ git clone git@github.com:dunitian/IPToPosition.git
Cloning into 'IPToPosition'...
Warning: Permanently added the RSA host key for IP address '192.30.252.130' to the list of known hosts.
warning: You appear to have cloned an empty repository.
Checking connectivity... done.

Git错误:fatal: could not create work tree dir 'XXX' No such file or directory