linux创建git本地仓库(简单): 初始化 git init 创建连接 git remote add origin XXXX(git地址) //拉取代码 git pull origin master 简单版仅做参考