Why Gerrit is unable to create branch by itself?

gerrit, git, version-control

Solution

This feature was implemented very recently and will be available in Gerrit v2.9.

Problem

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: ``` git checkout 82-blah-blah git push origin HEAD:refs/for/82-blah-blah ``` Why do I always get: ``` ! [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?

Original source

Related problems