forked from mirrors/jj
docs: add revset clarification to github.md
This commit is contained in:
parent
9938051d99
commit
0c0b924e7a
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue