Git

Git remove untracked files

2020-09-15  本文已影响0人  JaedenKil
git clean -dn
// OR `git clean -d -n`
$ git clean -dn
Would remove app/src/main/assets/
git clean -df
// OR `git clean -d -f`
$ git clean -df
Removing app/src/main/assets/

There are other parameters for cmd git clean, which will remove ignored files, but normally we don't need it.

上一篇下一篇

猜你喜欢

热点阅读