困难 Reset Fill
填空题 中等
题目
Fill in 空白到 discard ALL 更改 (staged and unstaged) and match 最后提交.
代码
git reset ___ HEAD
提示
大多数 destructive reset 模式开始使用 --困难.
解释
git reset --困难 HEAD discards 所有 staged and unstaged 更改, 制作工作 directory 精确地 match HEAD. 这个是 irreversible for uncommitted 更改. Use 使用注意 — consider git stash 首先如果你 可能需要更改.
相关资源
相关课程
相关速查表
查阅不认识的术语
新手友好的术语表用大白话解释编程术语——变量、函数、DOM、Promise 等等。
解读错误信息
用大白话解释常见错误——什么意思、为什么发生、如何修复。
动手做项目
通过引导式项目应用所学,含起始代码与解决方案。