For the complete documentation index, see llms.txt. This page is also available as Markdown.
Refusing to update checked out branch: [branch_name]
Error message: Refusing to update checked out branch: [branch_name]
This error occurs when you try to push to the branch you currently have checked out. To resolve this, you can either switch to a different branch or create a new branch to work on.