git提交拉取远程仓库

https://gitee.com/ ---- 国内服务器 https:/github.com/ ---- 国外服务器

git init  ---- 初始化(创建主分支)仓库

git clone 拉取地址 ---- 克隆仓库

git add ./ ---- 提交到本地暂存区

git commit -m "本次提交注释" ---- 提交到本地仓库

git status ---- 查看文件状态

git pull ---- 拉取更新的代码

git push origin master ---- 推送本地仓库代码到远程仓库

原文地址:https://www.cnblogs.com/zlf1914/p/12800286.html