This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 248945

Summary: Support gerrit workflow
Product: versioncontrol Reporter: Jan Becicka <jbecicka>
Component: GitAssignee: Ondrej Vrabec <ovrabec>
Status: NEW ---    
Severity: normal CC: chrizzly, git, soccer13player
Priority: P3    
Version: 8.0.1   
Hardware: PC   
OS: Mac OS X   
Issue Type: ENHANCEMENT Exception Reporter:

Description Jan Becicka 2014-11-27 10:58:15 UTC
I'd like you to ask for support for gerrit workflow.

When I work with gerrit, I usually implement some feature, do the commit and than I need to push my changes to start code review:

> git push origin HEAD:refs/for/master
  ? how can I do that in NetBeans

Now my push is being reviewed and I'm asked to modify my patch, than I need to do
> git commit --amend
  ? how can I do that in NetBeans

and again
> git push origin HEAD:refs/for/master
Comment 1 Ondrej Vrabec 2014-11-27 11:28:48 UTC
You cannot do the push thing. At the moment NetBeans supports pushing of branches only.
However amending commit is possible. Just select "amend" checkbox in the commit dialog.
Comment 2 shishirvd 2015-02-20 08:29:29 UTC
I have voted for this Enhancement and I feel this will be a very good addition.

I am currently working on project which uses gerrit heavily and have to go either use Git Bash/Git GUI to push my changes.
Comment 3 soccer13player 2015-04-29 16:23:17 UTC
We have just migrated to git, and the new standard includes gerrit.  Apparently, the Eclipse IDE has this functionality.  Rather than possibly requiring us to migrate to Eclipse, could we get this functionality into NetBeans?

Where can I vote for this enhancement?  I will look, but if someone can toss the link...
Comment 4 idclaar 2015-06-04 00:18:54 UTC
I've added my vote for Gerrit support.  This would be preferable to using GitExtensions with its Gerrit plugin.  I don't like leaving my IDE if I can help it, so adding code review hooks would be wonderful.
Comment 5 elgazali 2016-09-19 16:00:08 UTC
Essential in many ways for a lot of people.