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

git-comparison.md: show log of ancestors

This question was raised on the discord, it might be helpful for others.
This commit is contained in:
Łukasz Kurowski 2023-11-11 13:53:33 +01:00
parent b42a69db6d
commit e4955d29f3

View file

@ -183,6 +183,11 @@ parent.
<td><code>jj log</code></td>
<td><code>git log --oneline --graph --decorate</code></td>
</tr>
<tr>
<td>Show log of ancestors of the current commit only, including all ancestors, not just stopping at immutable commits</td>
<td><code>jj log -r ::@</code></td>
<td><code>git log</code></td>
</tr>
<tr>
<td>Abandon the current change and start a new change</td>
<td><code>jj abandon</code></td>