forked from mirrors/jj
docs: Add FAQ item for git log
New users often want to know how to just see what `git log` would show. Putting it in the FAQ isn’t perfect but might help a bit.
This commit is contained in:
parent
b343289238
commit
fc3283817d
1 changed files with 6 additions and 0 deletions
|
@ -33,6 +33,10 @@ revision visible again.
|
||||||
|
|
||||||
See [revsets] and [templates] for further guidance.
|
See [revsets] and [templates] for further guidance.
|
||||||
|
|
||||||
|
### How can I get `jj log` to show me what `git log` would show me?
|
||||||
|
|
||||||
|
Use `jj log -r ..`. The `..` [operator] lists all visible commits in the repo, excluding the root (which is never interesting and is shared by all repos).
|
||||||
|
|
||||||
### `jj` is said to record the working copy after `jj log` and every other command. Where can I see these automatic "saves"?
|
### `jj` is said to record the working copy after `jj log` and every other command. Where can I see these automatic "saves"?
|
||||||
|
|
||||||
Indeed, every `jj` command updates the current "working-copy" revision, marked
|
Indeed, every `jj` command updates the current "working-copy" revision, marked
|
||||||
|
@ -187,6 +191,8 @@ We hope to integrate with Gerrit natively in the future.
|
||||||
|
|
||||||
[glossary_divergent_change]: glossary.md#divergent-change
|
[glossary_divergent_change]: glossary.md#divergent-change
|
||||||
|
|
||||||
|
[operator]: revsets.md#operators
|
||||||
|
|
||||||
[revsets]: revsets.md
|
[revsets]: revsets.md
|
||||||
|
|
||||||
[templates]: templates.md
|
[templates]: templates.md
|
||||||
|
|
Loading…
Reference in a new issue