Git存储错误 "Cannot save the current status"

标签 git

运行“git stash”时出现此错误

Cannot save the current status

没有其他信息。

这是为什么?

最佳答案

在这里找到解决方案:Git stash fails 'error: unable to resolve reference refs/stash: No such file or directory'

rm -f .git/refs/stash
修好了

关于Git存储错误 "Cannot save the current status",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56959154/

相关文章:

git - 处于分离头状态时如何保存更改?

git 版本控制文件共享

git - 强制 "git push"覆盖远程文件

ruby-on-rails - sqlite3 文件添加到 .gitignore 但仍在修改列表中?

git - 共享 AWS Elastic Beanstalk 配置以将 git 部署到 AWS

ruby-on-rails - 如何在我的 Heroku Rails 应用程序中显示 'last-deployed' 时间戳?

ruby-on-rails - RoR 推送被拒绝到 Heroku "Could not detect rake tasks"

git - "git stash apply"或 "git stash pop"是否也添加修改后的文件进行提交?

git - 在 git 中 checkout 时的状态 D

git - Git 中的 merge 是对称的吗?