首页 > Web开发 > 详细

VScode本地上传到服务器

时间:2020-05-29 18:23:03      阅读:159      评论:0      收藏:0      [点我收藏+]
1.git init //初始git
2.git clone http://xxxx/vosa-element-config.git //克隆项目
3.git remote add origin http:/xxxx/vosa-element-config.git //连接远程项目
4.git branch --set-upstream-to=origin/master master //本地代码映射主线
5.git pull origin master --allow-unrelated-histories //允许本地和主线建立关系
6.git remote //查看映射结果
7.git push origin master //推送 (git push -u origin master)将本地项目更新到项目上去

 

VScode本地上传到服务器

原文:https://www.cnblogs.com/matd/p/12988754.html

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