Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7021659
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T23:28:46+00:00 2026-05-27T23:28:46+00:00

I am configuring Gerrit and I would like to avoid writing: git push gerrit

  • 0

I am configuring Gerrit and I would like to avoid writing:

git push gerrit HEAD:refs/for/master

I would like to write:

git push review

I am sure it’s possible modifying .git/config but I can’t make it work.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T23:28:47+00:00Added an answer on May 27, 2026 at 11:28 pm

    I set up two different push types, review and noreview:

    for reviews:

    git config remote.review.pushurl ssh://<GERRIT_HOST>:29418/<PROJECT_PATH>.git
    git config remote.review.push refs/heads/*:refs/for/*
    git push review # this will push your current branch up for review
    

    to bypass review:

    git config remote.noreview.pushurl ssh://<GERRIT_HOST>:29418/<PROJECT_PATH>.git
    git config remote.noreview.push refs/heads/*
    git push noreview # this will push your current branch up, bypassing review
    

    Note that there are some Gerrit Project changes that need to be made by the Project Owner/Gerrit Admin in order to bypass a review as well. I think the “Push” permission will need to be added to the project for refs/* (unless you’re getting specific about what branch you’ll allow bypassing the review in). However, for reviews, the permissions needed to post in will already be set up. In other words, if your

    git push gerrit HEAD:refs/for/master
    

    is working, than the “review” part above should work as well without changing anything else.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Possible Duplicate: Configuring the GCC compiler switches in Qt, QtCreator, and QMake I would
I'm working on configuring a RollingFileAppender in log4net programmatically. I have something like this
While configuring FLOW3, I get the following error #1315561483: It seems like the PHP
Configuring TinyMCE to allow for tags, based on a customer requirement. My config is
When configuring the bash on OSX via ~/.profile it seems to completely ignore it
When configuring nginx with a site that has ssl, the examples I find online
How do I Configuring DoxyGen to document ActionScript files? I've included the *.as and
XAMPP makes configuring a local LAMP stack for windows a breeze. So it's quite
A common mistake when configuring the compilation/linking/etc. settings in VC++ 2008 is to set
I am configuring a new environment to run several intranet web applications. I have

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.