git的常用提交流程用到的命令

版权声明:.net/web/医疗技术的木子纵横的个人分享 https://blog.csdn.net/muzizongheng/article/details/85246823
  1. 先把本地的更改暂存到stash里
git stash save '本地更改的内容说明'
git stash apply
  1. 把文件提交到本地仓库
git add 你修改的文件路径
git commit -a
  1. 同步本地仓库到服务器
git push
  1. 合并分支到主干
git checkout 主干的名字
git merge 你的分支的名字

猜你喜欢

转载自blog.csdn.net/muzizongheng/article/details/85246823