ok/jj
1
0
Fork 0
forked from mirrors/jj

docs: add revset clarification to github.md

This commit is contained in:
Hong Shin 2023-09-26 10:47:42 -07:00 committed by honglooker
parent 9938051d99
commit 0c0b924e7a

View file

@ -102,7 +102,7 @@ something like this:
```shell ```shell
$ # Create a new commit on top of the second-to-last commit in `your-feature`, $ # Create a new commit on top of the second-to-last commit in `your-feature`,
$ # as reviews requested a fix there. $ # as reviews requested a fix there.
$ jj new your-feature- $ jj new your-feature- # NOTE: the trailing hyphen is not a typo!
$ # Address the comments by updating the code $ # Address the comments by updating the code
$ # Review the changes $ # Review the changes
$ jj diff $ jj diff
@ -112,6 +112,8 @@ $ # Push the updated branch to the remote. Jujutsu automatically makes it a forc
$ jj git push --branch your-feature $ jj git push --branch your-feature
``` ```
The hyphen after `your-feature` comes from [revset](https://github.com/martinvonz/jj/blob/main/docs/revsets.md) syntax.
## Using GitHub CLI ## Using GitHub CLI
GitHub CLI will have trouble finding the proper git repository path in jj repos GitHub CLI will have trouble finding the proper git repository path in jj repos