idea中git报错

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

 

posted @ 2020-03-30 22:40  这都没什么  阅读(358)  评论(0)    收藏  举报