Git Reset 模式测验
单选题 中等
题目
哪个 `git reset` 模式 keeps 更改 in 工作 directory 但 unstages 它们?
提示
默认模式 unstages 但做 不 touch 你的 files.
解释
git reset --mixed (默认) moves 分支指针 and unstages 更改, 但 leaves 修改 files in 你的工作 directory. --soft keeps 更改 staged. --困难 discards 所有更改 completely. --mixed 是 safest 方式到 unstage 不使用 losing 工作.
相关资源
相关课程
相关速查表
查阅不认识的术语
新手友好的术语表用大白话解释编程术语——变量、函数、DOM、Promise 等等。
解读错误信息
用大白话解释常见错误——什么意思、为什么发生、如何修复。
动手做项目
通过引导式项目应用所学,含起始代码与解决方案。