Skip to content

← All questions

proposals accept --branch fails with Could not switch to branch and no reason why

Example threads. These questions and answers were written by the SDODS team to document real problems and how to fix them. The people named are illustrative, not real users. Questions asked on this site are marked new.

bash
sdods proposals accept 20260119-084402-generate-b3e91c --branch sdods/checkout
text
Could not switch to branch sdods/checkout: Command failed: git checkout -B sdods/checkout

That is the whole message. Nothing applied, which I am glad about, but git's own reason is nowhere — not on stdout, not with --json. Am I supposed to guess?

2 answers

Know the answer?

Wrap commands and output in triple backticks and they will render as a code block.

Checking whether you’re signed in…

Have a different question? Ask it.

Related