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

Revi HQ
내용 추가됨 내용 삭제됨
잔글 (Revi님이 Wikimedia Gerrit 문서를 핸드북:Wikimedia Gerrit 문서로 이동했습니다)
(설정)
10번째 줄: 10번째 줄:
== Push ==
== Push ==


# <code>git fa</code> - When dealing with git-review, you must do '''this''' instead of <code>git fo</code> or git-review will complain, thinking rebased other commits are not reviewed via gerrit.
# <code>git fa</code> - When dealing with git-review, you must do '''this''' instead of <code>git fo</code> or git-review will complain, thinking rebased other commits are not reviewed via gerrit. Shortcut defined from [[핸드북:Setup/.dot|.dotfiles]].
# <code>git osync</code> to make sure to rebase on origin/master
# <code>git osync</code> to make sure to rebase on origin/master
# <code>git review</code>
# <code>git review</code>

2018년 4월 3일 (화) 23:27 판

First time setup

See also: mw:Gerrit/Tutorial

  • Make sure dots stuff is installed.
  1. pip install git-review
  2. git-review -s if you haven't.

Push

  1. git fa - When dealing with git-review, you must do this instead of git fo or git-review will complain, thinking rebased other commits are not reviewed via gerrit. Shortcut defined from .dotfiles.
  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
  2. git osync

Go back to git review -R.