本文介绍了为什么Gerrit无法自行创建分支?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述 按照和,我有一个简单的(希望如此)问题。
如果我推送一个特定的分支,并正确设置所有必需的ref:
git checkout 82-blah-blah
git push origin HEAD:refs / for / 82-blah-blah
为什么我总是收到:
! [远程拒绝] HEAD - > refs / for / 82-blah-blah(找不到分支82-blah-blah)
和I总是必须去Gerrit的用户界面并手动创建该分支?
这不是一个明显的步骤,Gerrit可以简单地自动化吗?或者我错过了什么? rel =nofollow>已于近期实施,并将在。
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?
解决方案
This feature was implemented very recently and will be available in Gerrit v2.9.
这篇关于为什么Gerrit无法自行创建分支?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!