Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
git clean -d -f無視されるファイルを含むディレクトリを削除します。無視されたファイルを保持して実行できますgit clean -dか?
git clean -d -f
git clean -d
例:
dir\dir2\file1
.gitignore :
dir\dir2
git clean -d -fdirとそのすべての内容を削除します。私は無視しdir\dir2\file1ていて削除していないことに気付くと思いfile1ます。
dir
file1