-
cd 到本地目錄,使用git init 命令初始化git
git init -
添加github遠程代碼倉庫
//命令:git remote add origin + 遠程代碼倉庫地址 eg:git remote add origin https://github.com/zhangdaiscott/jeecg-boot.git -
下載遠程倉庫代碼
//命令:git clone + 遠程代碼倉庫地址 eg:git clone https://github.com/zhangdaiscott/jeecg-boot.git -
拉取最新代碼(不合並本地代碼)
eg:git fetch
