Git添加仓库 1. 初始化仓库 git init 2. 添加远程仓库 git remote add [远程仓库名,一般为origin] [仓库地址] Git log git log HEAD --pretty=format:%s Git pull 1. 下载远程代码并合并 git pull