Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Branch custom actions for Gerrit #301
This is a very specific workflow when using Gerrit Code Review. The commit can't be pushed directly to the origin branch (let's say origin/master) but to a staging branch (origin/refs/for/master) where the commit is validated through the interface and then merged in origin master.
Now in my git config for my repo I have the following:
But Fork doesn't seem to be taken this modification into account. When pushing the only option available is origin/master
Now I'm no git expert so I'm not sure the origin branch should be origin/refs/for/master. I can provide you some logs from SourceTree (I'm trying to switch) if that's helping you.
We probably need a new type of custom action - Reference custom action, which could be applied to local and (or) remote branches and (or) tags.
Then this action will appear in every branch context menu (either on sidebar on in the commit list).
What do you think?