码迷,mamicode.com
首页 > 其他好文 > 详细

git技巧

时间:2017-03-01 14:10:06      阅读:152      评论:0      收藏:0      [点我收藏+]

标签:xxx   com   push   add   div   exist   fat   read   demo   

1.强制push到远程

git push -f origin master

 

2.fatal: remote origin already exists 错误解决办法

git remote rm origin
git remote add origin https://github.com/xxx/xxx-demo.git 
git push -u origin master

  

git技巧

标签:xxx   com   push   add   div   exist   fat   read   demo   

原文地址:http://www.cnblogs.com/taojintianxia/p/6483728.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!