|
@@ -17,6 +17,11 @@ ssh-keygen -t rsa -C "你的GitHub登录账号"
|
|
|
git config -global user.name "你的GitHub用户名"
|
|
|
git config -global user.email "你的GitHub登录账号"
|
|
|
```
|
|
|
+
|
|
|
+````shell
|
|
|
+# 获取生成的GitHub SSH KEY
|
|
|
+````
|
|
|
+
|
|
|
```shell
|
|
|
# 下载游戏源码
|
|
|
git clone --depth=1 git@github.com:makeryangcom/Engine2D.git
|
|
@@ -69,10 +74,17 @@ yum makecache
|
|
|
ssh-keygen -t rsa -C "你的GitHub登录账号"
|
|
|
````
|
|
|
|
|
|
+````shell
|
|
|
+# 获取生成的GitHub SSH KEY
|
|
|
+cat /root/.ssh/id_rsa.pub
|
|
|
+````
|
|
|
+
|
|
|
```shell
|
|
|
git config -global user.name "你的GitHub用户名"
|
|
|
git config -global user.email "你的GitHub登录账号"
|
|
|
```
|
|
|
+
|
|
|
+
|
|
|
```shell
|
|
|
cd /opt/Engine2D
|
|
|
# 下载游戏源码
|