343 B
343 B
git clear-soft
清空一个 Git 工作目录,就像是用当前分支新克隆的一样,排除
.gitignore
中的文件。 这是git-extras
的一部分。 更多信息:https://github.com/tj/git-extras/blob/master/Commands.md#git-clear-soft。
- 重置所有跟踪文件并删除所有未跟踪文件:
git clear-soft