开发安装切换跟踪分支?

是否可以将我的开发环境中的分支从 tests-passed 切换到 stable?我无法让

git fetch origin
git checkout stable
git pull

正常工作。

嗯,输出是什么?

检出后,如果您确定工作目录中没有重要内容,可以尝试以下操作。

git reset --hard origin/stable

你还需要重置你的数据库,因为你无法将其迁移回。

3 个赞

实际上没有错误。真正的问题出现在运行 bin/rails db:migrate 时。

这很可能就是原因。谢谢!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.