草庐IT

git - 无法 pull b/c "You have unstaged changes",但状态显示没有变化

我在这里与一位开发人员合作,他发现了一个我以前从未遇到过的奇怪问题。他正在处理一个存储库,需要在推送之前从其他人那里pull最新的更改。他的所有更改都已提交。$gitpullCannotpullwithrebase:Youhaveunstagedchanges.Pleasecommitorstashthem.这似乎很合理,直到......$gitstatus#Onbranchmaster#Yourbranchand'origin/master'havediverged,#andhave3and1differentcommiteach,respectively.#nothingtocom
12