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

idea中git报错

时间:2020-03-30 23:27:03      阅读:62      评论:0      收藏:0      [点我收藏+]

标签:stream   pull   reject   upd   branch   set   red   configure   push   

1. Push to origin/master was rejected

    解决:git pull origin master --allow-unrelated-histories

2.  Can‘t Update 

     No tracked branch configured for branch master or the branch doesn‘t exist.

    To make your branch track a remote branch call, for example,
    git branch --set-upstream-to origin/master master

   解决: git branch --set-upstream master origin/master

 

idea中git报错

标签:stream   pull   reject   upd   branch   set   red   configure   push   

原文地址:https://www.cnblogs.com/sjzxxy/p/12601884.html

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