Having trouble with a rebuild

This is the issue

Can you please check which branch of Discourse you are on via git status and share here?

Your error message doesn’t make a lot of sense to me as if you look at the source code there is no such command.