핸드북:Wikimedia Gerrit: 두 판 사이의 차이

Revi HQ
내용 추가됨 내용 삭제됨
(lowercase!)
(special rule on rebase)
21번째 줄: 21번째 줄:
# <code>git amends</code>
# <code>git amends</code>
# <code>git review -R</code>
# <code>git review -R</code>

; If you are rebasing

''After <code>git amends</code>...''

# <code>git fa</code> - You must do '''this''' instead of <code>git fo</code> to prevent unmerged patch issue.
# <code>git osync</code>

'' Go back to <code>git review -R</code>.''


[[분류:정보]]
[[분류:정보]]

2017년 12월 12일 (화) 00:15 판

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

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.