핸드북:Wikimedia Gerrit: 두 판 사이의 차이
Revi HQ
내용 추가됨 내용 삭제됨
(amend) |
(update) |
||
6번째 줄: | 6번째 줄: | ||
# <code>pip install git-review</code> |
# <code>pip install git-review</code> |
||
# <code>git-review -s</code> |
# <code>git-review -s</code> if you haven't. |
||
== 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 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> |
||
26번째 줄: | 26번째 줄: | ||
''After <code>git amends</code>...'' |
''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> |
# <code>git osync</code> |
||
2018년 1월 3일 (수) 03:13 판
First time setup
See also: mw:Gerrit/Tutorial
- Make sure dots stuff is installed.
pip install git-review
git-review -s
if you haven't.
Push
git fa
- When dealing with git-review, you must do this instead ofgit fo
or git-review will complain, thinking rebased other commits are not reviewed via gerrit.git osync
to make sure to rebase on origin/mastergit review
New patchset
git-review -d <PATCHNUMBER>
(Work...)
git aal
git amends
git review -R
- If you are rebasing (aka amending)
After git amends
...
git fa
git osync
Go back to git review -R
.