From e4955d29f36dfb2e2c0740cd27c7b5ff0777124d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Kurowski?= Date: Sat, 11 Nov 2023 13:53:33 +0100 Subject: [PATCH] git-comparison.md: show log of ancestors This question was raised on the discord, it might be helpful for others. --- docs/git-comparison.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/git-comparison.md b/docs/git-comparison.md index cbc59432e..f7ecf922c 100644 --- a/docs/git-comparison.md +++ b/docs/git-comparison.md @@ -183,6 +183,11 @@ parent. jj log git log --oneline --graph --decorate + + Show log of ancestors of the current commit only, including all ancestors, not just stopping at immutable commits + jj log -r ::@ + git log + Abandon the current change and start a new change jj abandon