git restore:恢复 Working Tree 与 Index | Git
本章覆盖:`git restore file`;source;worktree;staged;`--staged`;unstage;restore from HEAD;restore from commit;destructive overwrite;untracked file not restored;modern replacement for part of checkout behavior。
本章知识点
git restore file- source
- worktree
- staged
--staged- unstage
- restore from HEAD
- restore from commit
- destructive overwrite
- untracked file not restored
- modern replacement for part of checkout behavior