1、将所有文件提交到暂存区 git add . 2、将文件提交到本地仓库 git commit -m "firt commit" 3、从远程仓库更新最新代码 git pull 4、将本地仓库推送到远程仓库 git push