-1
我跑:試圖取消一個文件,說,它無法找到該文件,即使我看到它在我的日誌
git log --diff-filter=D --summary
,我看到被刪除的文件:
commit abc123abc123
..
some desc here
delete mode 100644 myapp/db/scripts/some_table.sql
所以我嘗試獲取文件:
>git checkout abc123abc123 myapp/db/scripts/some_table.sql
>error: pathspec 'myapp/db/scripts/some_table.sql' did not match any file(s) known to git.
問題是什麼?