Skip to content

Commit

Permalink
docs: add revset clarification to github.md
Browse files Browse the repository at this point in the history
  • Loading branch information
honglooker committed Sep 26, 2023
1 parent 9938051 commit 0c0b924
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/github.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ something like this:
```shell
$ # Create a new commit on top of the second-to-last commit in `your-feature`,
$ # 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
$ # Review the changes
$ jj diff
Expand All @@ -112,6 +112,8 @@ $ # Push the updated branch to the remote. Jujutsu automatically makes it a forc
$ 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

GitHub CLI will have trouble finding the proper git repository path in jj repos
Expand Down

0 comments on commit 0c0b924

Please sign in to comment.