gitリポジトリにuntrackedファイルがあり、削除したい場合があります。追跡されていないgitファイルを簡単に削除する方法はありますか
gitやbashなどの方法を使用する簡単な方法はありますか?
gitリポジトリにuntrackedファイルがあり、削除したい場合があります。追跡されていないgitファイルを簡単に削除する方法はありますか
gitやbashなどの方法を使用する簡単な方法はありますか?
git clean
コマンドを使用してください。
git clean -f -d # will delete all untracked directories and files.
重複質問を参照してください。 https://stackoverflow.com/questions/61212/how-to-remove-local-untracked-files-from-the-current-git-working-tree?rq=1 –
答えをdownvotingする理由はまだありません。質問がまだ尋ねられていないことを確認するのは、OPの仕事です。 – hspandher
はhttps://stackoverflow.com/questions/61212/how-to-remove-local-untracked-files-from-the-current-git-working-tree?rq=1 –