git出现问题时,将自己的代码全部替换成git库中的最新代码
***在IDEA底部打开 terminal 输入语句
git fetch --all && git reset --hard origin/master && git pull
idea中git出现问题,提交或拉取失败等异常时在IDEA中的解决方法
原文:https://www.cnblogs.com/zagwk/p/14639544.html