我想将一个 github 项目复制到我自己的项目中。我在终端中执行了以下操作
cd *your-project-location*
git submodule add git@github.com:escoz/QuickDialog.git
我给了我的项目文件夹所有读写权限,但在终端中它给出了以下错误。
MacBook-Pro-van-Stef-2:FormsExample geelenstef$ git submodule add git@github.com:escoz/QuickDialog.git
Cloning into 'QuickDialog'...
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Clone of 'git@github.com:escoz/QuickDialog.git' into submodule path 'QuickDialog' failed
有人有想法吗?
亲切的问候