12

So I accidentally removed some new, untracked files from the working tree using git clean -f. Is there a way to undo the clean or re-add those untracked files?

4

1 に答える 1

10

ファイルが Git によってクリーンアップされた場合、それらはそもそも Git によって追跡されませんでした。残念ながら、バックアップからファイルを復元するために使用する他の方法が残っています。

これは、Git がお手伝いできることではありません。

于 2012-10-10T15:31:04.053 に答える