git reset的三种模式 模式 工作区状态 暂存区状态 git reset --sort 保留 保留 git reset --hard 不保留 不保留 git reset --mixed 保留 不保留