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

猜你喜欢

转载自www.cnblogs.com/sjzxxy/p/12601884.html
今日推荐