Skip to content

← All questions

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

Asked 2,740 views2 answers
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?

asked by Devon Marsh183 ·

2 answers

Know the answer?

Reviewed before it appears. Wrap commands and output in triple backticks and they will render as a code block.

Have a different question? Ask it.

Related