如何在mac&amp ;;上使用Gitlab本地服务器

时间:2017-01-20 02:29:23

标签: git macos ssh gitlab

我使用的是Macbook,我想将Gitlab上的代码推送到本地服务器(例如192.168.0.1)。

我安装了SSH并在Gitlab中添加了密钥。

但是当我用git clone git@slam-System-Senscape:lwc/lsd_shave.git克隆项目时,我收到一个错误:

ssh: Could not resolve hostname slam-system-senscape: nodename nor servname provided, or not known fatal: Could not read from remote repository.

Please make sure you have the correct access rights and the repository exists.

0 个答案:

没有答案