首页 > 其他 > 详细

github

时间:2014-09-16 15:41:40      阅读:186      评论:0      收藏:0      [点我收藏+]
git config remote.origin.url #查看当前设置的路径
git config remote.origin.url user@ip:/path/to/project.git #修改当前路径为后者
 
提交代码三部
git add .
git commit -m "asdf"

git push origin master #提交本地代码

更新代码

git pull origin master #更新并合并远程服务器代码

 

github

原文:http://www.cnblogs.com/loganv/p/3974811.html

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