“撤销”先问:你要撤销哪一层 | Git
本章覆盖:working tree;index;commit;branch ref;public remote history;untracked file;local unpublished commit;published commit;data recovery;先定位状态再选命令,避免 `reset --hard` 乱用。
本章知识点
- working tree
- index
- commit
- branch ref
- public remote history
- untracked file
- local unpublished commit
- published commit
- data recovery
- 先定位状态再选命令,避免
reset --hard乱用