diff options
Diffstat (limited to 'Documentation/user-inline-edit.txt')
-rw-r--r-- | Documentation/user-inline-edit.txt | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Documentation/user-inline-edit.txt b/Documentation/user-inline-edit.txt index e3e0f681e2..910adc1ae0 100644 --- a/Documentation/user-inline-edit.txt +++ b/Documentation/user-inline-edit.txt @@ -15,6 +15,9 @@ To learn more, see the link:intro-user.html[Gerrit User's Guide]. [[create-change]] == Creating a Change +[[create_in_web_interface]] +=== In the web interface + To create a change in the Gerrit web interface: . From the link:http://gerrit-review.googlesource.com[Gerrit Code Review,role=external,window=_blank] @@ -64,6 +67,22 @@ change. . Add the files you want to be reviewed. +[[create_from_url]] +=== From URL + +Gerrit supports creating a new change and opening a specific file for edit +in that change from an "Edit URL": +``` +^\/admin\/repos\/edit\/repo\/(.+)\/branch\/(.+)\/file\/(.+)$ +``` +This enables other tools to provide a direct link to edit their configuration +files in Gerrit. + +Ex: +``` +https://gerrit.mycompany.com/admin/repo/my/repo/branch/refs/heads/master/file/Jenkinsfile # Jenkins build file +https://gerrit.mycompany.com/admin/repo/my/repo/branch/refs/heads/master/file/catalog-info.yaml # Backstage catalog-info +``` [[add-files]] == Adding a File to a Change |