Advertisement
Nico_60

Untitled

Mar 4th, 2015
217
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. Auto-Merge during Push
  2.  
  3. Changes can be directly submitted on push. This is primarily useful for teams that don’t want to do code review but want to use Gerrit’s submit strategies to handle contention on busy branches. Using %submit creates a change and submits it immediately, if the caller has Submit permission on refs/for/<ref> (e.g. on refs/for/refs/heads/master).
  4.  
  5. git push ssh://john.doe@git.example.com:29418/kernel/common HEAD:refs/for/master%submit
  6. On auto-merge of a change neither labels nor submit rules are checked. If the merge fails the change stays open, but when pushing a new patch set the merge can be reattempted by using %submit again.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement