This commit is contained in:
GeekROS
2024-03-04 09:26:01 +08:00
parent c8e3ee90ed
commit e25ff567c7

View File

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