我对几个文件进行了一些更改。当我想藏起来时:
git stash
我收到如下错误消息:
fatal: f89cf6f6dae11b4fa28fea6e8ac8e272782c5995 is not a valid object
Cannot record working tree state
通过检查状态:
git status
它给了我
Your branch is ahead of 'origin' by 1 commit.
(use "git push" to publish your local commits)
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: file1
modified: file2
modified: file3
Untracked files:
(use "git add <file>..." to include in what will be committed)
fileA
fileB
dirA/
no changes added to commit (use "git add" and/or "git commit -a")
我知道有一种方法可以使用