Repository navigation
Expand file tree
/
Copy pathpost3.bb
More file actions
30 lines (29 loc) · 2.46 KB
/
Copy pathpost3.bb
File metadata and controls
30 lines (29 loc) · 2.46 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
[SIZE="5"][B][U]Way 2. (for punctual contribute) : [/U][/B][/SIZE]
Log-in into the Gerrit instance you want to commit into. Go into 'Projects', list, then choose the repo you want to make the change in:
[INDENT][IMG="gerrit project select"]https://forum.xda-developers.com/attachment.php?attachmentid=4363174[/IMG][/INDENT]
Hit the 'Create Change' button:
[INDENT][IMG="Gerrit CreateButton"]https://forum.xda-developers.com/attachment.php?attachmentid=4363248[/IMG][/INDENT]
This open a popup asking for some information:
[LIST]
[*][I]Select branch for new change[/I]: the branch you want to commit in,
[*][I]Enter topic for new change[/I]: leave empty
[*][I]Description[/I]: Enter commit message
[/LIST]
Finally hit [I]Create[/I]
[INDENT][IMG="fillchange"]https://forum.xda-developers.com/attachment.php?attachmentid=4363249[/IMG][/INDENT]
Now your change page is open, you can start editing files with the [I]Edit[/I] button on the right:
[INDENT][IMG="Gerrit Edit Buton"]https://forum.xda-developers.com/attachment.php?attachmentid=4363257[/IMG][/INDENT]
then [I]Add[/I] the file you want change:
[INDENT][IMG="Gerrit Add file"]https://forum.xda-developers.com/attachment.php?attachmentid=4363259[/IMG][/INDENT]
The file open in an editor, make the needed changes and save with [I]Save[/I] button, then [I]Close[/I]:
(Redo the step if you need to change multiples files.)
[INDENT][IMG="Gerrit editor"]https://forum.xda-developers.com/attachment.php?attachmentid=4363261[/IMG][/INDENT]
When all your changes are present, hit the [I]Done Editing[/I] button to validate your changes.
[INDENT][IMG="Gerrit done edit"]https://forum.xda-developers.com/attachment.php?attachmentid=4363264[/IMG][/INDENT]
Your changes are pending and you can display it while clicking on file name:
[INDENT][IMG="Gerrit done editing"]https://forum.xda-developers.com/attachment.php?attachmentid=4363266[/IMG][/INDENT]
The changed section is highlighted. If you made a mistake you can use the [IMG="pencil"]https://forum.xda-developers.com/attachment.php?attachmentid=4363274[/IMG] icon:
[INDENT][IMG="Gerrit check edit"]https://forum.xda-developers.com/attachment.php?attachmentid=4363272[/IMG][/INDENT]
Use the [IMG]https://forum.xda-developers.com/attachment.php?attachmentid=4363276[/IMG] button to get back on the summary page.
[B]WARNING[/B]: your change is only a draft for now, you need to publish it:
[INDENT][IMG="Gerrit publish edit"]https://forum.xda-developers.com/attachment.php?attachmentid=4363277[/IMG][/INDENT]