作者:荒原之梦 原文链接:http://zhaokaifeng.com/?p=543 今天使用Git Push代码时产生错误: Rename from 'XXXX/.git/refs/remotes/origin/master.lock' to 'XXX/.git/refs/remotes/origin/master' failed. Should I try again? (y/n) 输入y 还会重复出现上述提示,输入n 则会出现下面的错误提示: error: Couldn't set ref…