如何從“Git藏存儲蓄-全部”中恢復(fù)過來?我想存儲未跟蹤的文件,但我總是傳遞錯誤的選項。對我來說,這聽起來是對的:git stash save [-a|--all]但這實際上也會忽略文件。正確的辦法是:git stash save [-u|--include-untracked]當(dāng)我跑的時候git stash save -a試著git stash pop對于所有被忽略的文件,我得到了無數(shù)的錯誤:path/to/file1.ext already exists, no checkout
path/to/file1.ext already exists, no checkout
path/to/file1.ext already exists, no checkout
...
Could not restore untracked files from stash所以命令失敗了。如何收回跟蹤和未跟蹤的更改?git reflog不存儲命令。
- 2 回答
- 0 關(guān)注
- 784 瀏覽
添加回答
舉報
0/150
提交
取消