添加到暂存区
git add .
本次提交描述
git commit -m "双引号此处添加说明,例如修改了什么"
连接远程仓库 例如
git remote add orign https://github.com/zhimingdou/php.git
orign是地址
查看远程仓库名 一般是orign
git remote
上传到github,名字要对
git push -u orign master
git clone 地址 下载代码到本地
远程更新代码到本地
git pull