Reset --困难测验
单选题 中等
题目
什么做 `git reset --困难 HEAD` 做?
提示
--困难是 destructive and cannot 是 undone 容易地.
解释
git reset --困难 HEAD discards 所有 staged and unstaged 更改, 制作你的工作 directory 精确地 match 最后提交 (HEAD). 这个是 destructive — uncommitted 更改是 permanently lost. Use git stash 如果你 想要到 保存更改 temporarily 相反.
相关资源
相关课程
相关速查表
查阅不认识的术语
新手友好的术语表用大白话解释编程术语——变量、函数、DOM、Promise 等等。
解读错误信息
用大白话解释常见错误——什么意思、为什么发生、如何修复。
动手做项目
通过引导式项目应用所学,含起始代码与解决方案。