Rockbox Technical Forums

Support and General Use => Theming and Appearance Customization => Topic started by: Jeffery777 on January 16, 2019, 06:13:54 AM

Title: Why Gerrit is unable to create branch by itself?
Post by: Jeffery777 on January 16, 2019, 06:13:54 AM
Following this answer and my own question, I have a simple (hope so) question.

If I'm pushing a particular branch, with all required refs properly set:

Code: [Select]
git checkout 82-blah-blah
git push origin HEAD:refs/for/82-blah-blah

Why do I always get:

Code: [Select]
! [remote rejected] HEAD -> refs/for/82-blah-blah (branch 82-blah-blah not found)
and I always have to go to Gerrit's UI and create that branch manually?

Isn't that an obvious step, that Gerrit could simply automate? Or am I missing something?