ssh: Could not resolve hostname C: hostname nor servname provided, or not known fatal: The remote end hung up unexpectedly ?
ive set up a git repo useing --bare ( i even dont know what it mean ) im following the Using Git and Dropbox together effectively? and when i do
$ git clone C:\Users\DAMS\Documents\My Dropbox\Projects\RED.git
or
$ git clone C:/Us开发者_Python百科ers/DAMS/Documents/My Dropbox/Projects/RED.git
even this ( diffrent error )
$ git clone /C/Users/DAMS/Documents/My Dropbox/Projects/RED.git
fatal: Could not switch to '/C/Users/DAMS/Documents': No such file or directory
it somehow give me a error. ( btw im useing cygwin on windows )
Thanks
Adam Ramadhan
try:
$ git clone "/cygdrive/c/Users/DAMS/Documents/My Dropbox/Projects/RED.git"
You're not escaping the space in "My Dropbox", which splits the content into multiple argunemts to git. using the c: specification causes it to use ssh to access a host called 'c'
the colon is used to separate hostname from the path.
i believe in cygwin you can say: /c/users/DAMS/…
 $ git clone '/c/Users/DAMS/Documents/My Dropbox/Projects/RED.git'
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论