From f0dd311354a7aafd1cdf203b69e75391446ab64c Mon Sep 17 00:00:00 2001 From: Valentin Gatien-Baron Date: Wed, 10 Jan 2024 18:45:12 -0500 Subject: [PATCH] docs: add git comparison for `jj workspace root` To make the jj command more discoverable. --- docs/git-comparison.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/git-comparison.md b/docs/git-comparison.md index f17c4f000..a6fc2b2b1 100644 --- a/docs/git-comparison.md +++ b/docs/git-comparison.md @@ -302,6 +302,11 @@ parent. (there's no single command for it yet) git co <destination>; git cherry-pick <source> + + Find the root of the working copy (or check if in a repo) + jj workspace root + git rev-parse --show-toplevel + List branches jj branch list