Appearance
清理
新增文件。
echo 'Hello World' > hello.txt预览清理文件。
git clean -nWould remove hello.txt强制清理文件,恢复原样。
git clean -fRemoving hello.txt以上两个命令,无法处理文件夹。
新增文件夹,新增文件。
mkdir hellor
echo 'Hello World' > hello/world.txt预览清理。
git clean -nfdWould remove hello/强制清理,恢复原样。
git clean -fdRemoving hello/