From dafc900cca82dd2f5c17d85064457d94258ef469 Mon Sep 17 00:00:00 2001 From: Gabriel Scherer Date: Wed, 20 Dec 2023 23:50:17 +0100 Subject: [PATCH] git comparison: include a 'git grep' equivalent --- docs/git-comparison.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/git-comparison.md b/docs/git-comparison.md index 92b3e5c35..f17c4f000 100644 --- a/docs/git-comparison.md +++ b/docs/git-comparison.md @@ -188,6 +188,11 @@ parent. jj log -r ::@ git log + + Search among files versioned in the repository + grep foo $(jj files) + git grep foo + Abandon the current change and start a new change jj abandon