Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

2
  • great idea setting remote.origin.push for gerrit usage. My local feature branches feature/fix_fubar are all pointed to more generic upstream branches like master or develop, so this would point at the wrong upstream. What's your local flow look like for gerrit controlled repos? Commented Jun 24, 2015 at 16:22
  • If you only have one "target" branch on gerrit, try simply git config remote.origin.push HEAD:refs/for/master. Commented Jul 17, 2015 at 8:22