ITeye博客

Removing untracked files from your git working copy

夜鸣猪 · 2013-02-12 06:10 · ruby · git · 编程语言 · Markdown

If you want to also remove directories, run

git clean -f -d

.

If you just want to remove ignored files, run

git clean -f -X

.

If you want to remove ignored as well as non-ignored files, run

git clean -f -x

.

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。