1- # gh-revision
1+ # gh-pr- revision
22
33A GitHub CLI extension for managing pull request revisions.
44
@@ -14,26 +14,26 @@ changes harder.
1414To make incremental changes more visible and easier to track we decided to add pull
1515request comments which summarize what was changed since the last review.
1616To automate this process and add diff links to the previous revision the
17- idea of ` gh-revision ` CLI extension was born.
17+ idea of ` gh-pr- revision ` CLI extension was born.
1818
1919## Installation
2020
2121To install the latest version of the extension use the following command:
2222
2323``` shell
24- gh extension install hushsecurity/gh-revision
24+ gh extension install hushsecurity/gh-pr- revision
2525```
2626
2727## Synopsis
2828
2929``` shell
30- gh revision --help
30+ gh pr- revision --help
3131```
3232
3333``` text
3434GitHub CLI extension for pull request revisions
3535v0.0.1
36- Usage: gh-revision <command> [<args>]
36+ Usage: gh-pr- revision <command> [<args>]
3737
3838Options:
3939 --help, -h display this help and exit
@@ -50,21 +50,21 @@ Commands:
5050To create a new revision make sure your pull request is ` OPEN ` and is not ` Draft ` .
5151
5252``` shell
53- gh revision create
53+ gh pr- revision create
5454```
5555
5656This command assumes that the new revision is associated with the ` HEAD ` commit.
5757If the pull request tip commit is not the local ` HEAD ` specify a commitish
5858explicitly:
5959
6060``` shell
61- gh revision create -c " <commitish>"
61+ gh pr- revision create -c " <commitish>"
6262```
6363
6464To attach a custom comment to the revision use ` -e ` to open your configured editor:
6565
6666``` shell
67- gh revision create -e
67+ gh pr- revision create -e
6868```
6969
7070## Aliases
@@ -73,19 +73,21 @@ The name of the extension is relatively long. Therefore, it may be helpful to cr
7373aliases as follows:
7474
7575``` shell
76- gh alias set rvc ' revision create'
77- gh alias set rvl ' revision list'
78- gh alias set rvs ' revision show'
76+ gh alias set rvc ' pr- revision create'
77+ gh alias set rvl ' pr- revision list'
78+ gh alias set rvs ' pr- revision show'
7979```
8080
8181Now a new revision can be created with a shorter command ` gh rvc -e ` .
8282
8383## Limitations
8484
85- 1 . ` gh-revision ` stores some metadata in pull request comments. Subsequent revisions
86- build on the metadata included in previous revisions. Hence , deletion of a * revision
87- comment* may affect correctness of following revision comments .
85+ 1 . ` gh-pr- revision ` stores some metadata in pull request comments. Subsequent revisions
86+ build on the metadata included in previous revisions. Therefore , deletion of a
87+ revision comment may affect correctness of following revisions .
8888
89- 1 . The size of a * revision comment* is limited by the max size of a
89+ 1 . The size of a revision comment is limited by the max size of a
9090 pull request comment allowed by GitHub. Therefore, if a pull request has a very
91- long list of revisions creation of a new one may fail due to GitHub limitations.
91+ long list of revisions, creation of a new one may fail due to GitHub limitations.
92+ This is because every new revision contains 2 additional comparison urls that make
93+ the metadata bigger.
0 commit comments