首页 > 其他 > 详细

git 提交代码步骤

时间:2019-09-11 20:25:46      阅读:89      评论:0      收藏:0      [点我收藏+]

拉取服务器代码,避免覆盖他人代码 

git pull

查看当前项目中有哪些文件被修改过

git status

提交代码至缓存

git add .

将代码提交到本地仓库中

git commit -m “提交备注”

 提交至远程仓库

git push

  

 

git 提交代码步骤

原文:https://www.cnblogs.com/wubaiwan/p/11507843.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!