핸드북:Wikimedia Gerrit

Revi HQ
Revi (토론 | 기여)님의 2017년 12월 31일 (일) 20:26 판 (amend)

First time setup

See also: mw:Gerrit/Tutorial

  • Make sure dots stuff is installed.
  1. pip install git-review
  2. git-review -s

Push

  1. git fo
  2. git osync to make sure to rebase on origin/master
  3. git review

New patchset

  1. git-review -d <PATCHNUMBER>
  2. (Work...)
  3. git aal
  4. git amends
  5. git review -R
If you are rebasing (aka amending)

After git amends...

  1. git fa - You must do this instead of git fo to prevent unmerged patch issue.
  2. git osync

Go back to git review -R.