我改变了我当地的git repo路径并继续在我的终端中获取未跟踪的文件.所以我不幸地继续使用git clean -d -f,并且在更高的目录中删除了大量的文件,有没有办法可以检索它们:
hamed [] :> git status
On branch master
Initial commit
Changes to be committed:
(use "git rm --cached <file>..." to unstage)
new file: .CFUserTextEncoding
new file: DBC/phase-0-unit-1
new file: DBC/salehrastani.github.io
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git checkout -- <file>..." to discard changes in working directory)
modified: DBC/phase-0-unit-1 (new commits)
modified: DBC/salehrastani.github.io (new commits)
Untracked files:
(use "git add <file>..." to include in what will …
Run Code Online (Sandbox Code Playgroud) git ×1