Git -push时右下角报“push to origin/master was rejected”

解决方法: IDEA中输入“alt+F12”

    git pull
    git pull origin master
    git pull origin master --allow-unrelated-histories

问题解决√

猜你喜欢

转载自www.cnblogs.com/timingss/p/11606091.html