Cloning Git repository locally

后端 未结 2 1218

I have just create a git repository on my iMac under the user git account and am now want to clone it from my main user account on the same computer. I have created my SSH k

相关标签:
2条回答
  • 2020-12-09 19:01

    You shouldn't need an ssh key at all. Make all of the files world readable and just clone the full path. In other words, do

    $ git clone /path/to/repo
    
    0 讨论(0)
  • 2020-12-09 19:20
    git clone /path/to_repository  /path/to_where_you_want_it_cloned
    

    Make sure that your main user account has permissions to copy to/from your accounts directories.

    0 讨论(0)
提交回复
热议问题