git 比较 change to be committed

git diff --cached
原文地址:https://www.cnblogs.com/zhangdongsheng/p/9111271.html