Switch tracking branch in dev install?

Is it possible to switch my branch on my dev install from tests-passed to stable? I couldn’t get

git fetch origin
git checkout stable
git pull

to work.

Hmm what is the output?

After checking out you could try the following if you’re sure you have nothing important in your working directory.

git reset --hard origin/stable

You would have to reset your database as well, because you can’t migrate that down.

3 Likes

No errors, actually. The actual problem comes when running bin/rails db:migrate.

That’s probably it. Thanks!