From 441175f2f98fa71e30504e264fafc72ebca618e8 Mon Sep 17 00:00:00 2001 From: Ilya Grigoriev Date: Sun, 2 Jun 2024 21:54:31 -0700 Subject: [PATCH] `jj help git`: Include "Git remotes" in the title Previously, it sounded like `jj git` might only include highly-technical commands, while IMO the most important commands in here are `jj git fetch` and `jj git push`. --- cli/src/commands/git.rs | 2 +- cli/tests/cli-reference@.md.snap | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cli/src/commands/git.rs b/cli/src/commands/git.rs index 42107fd0b..0f68ae10e 100644 --- a/cli/src/commands/git.rs +++ b/cli/src/commands/git.rs @@ -51,7 +51,7 @@ use crate::git_util::{ }; use crate::ui::Ui; -/// Commands for working with the underlying Git repo +/// Commands for working with Git remotes and the underlying Git repo /// /// For a comparison with Git, including a table of commands, see /// https://github.com/martinvonz/jj/blob/main/docs/git-comparison.md. diff --git a/cli/tests/cli-reference@.md.snap b/cli/tests/cli-reference@.md.snap index afd5d40a3..9df2ab8a1 100644 --- a/cli/tests/cli-reference@.md.snap +++ b/cli/tests/cli-reference@.md.snap @@ -117,7 +117,7 @@ To get started, see the tutorial at https://github.com/martinvonz/jj/blob/main/d * `duplicate` — Create a new change with the same content as an existing one * `edit` — Sets the specified revision as the working-copy revision * `files` — List files in a revision -* `git` — Commands for working with the underlying Git repo +* `git` — Commands for working with Git remotes and the underlying Git repo * `init` — Create a new repo in the given directory * `interdiff` — Compare the changes of two commits * `log` — Show revision history @@ -760,7 +760,7 @@ List files in a revision ## `jj git` -Commands for working with the underlying Git repo +Commands for working with Git remotes and the underlying Git repo For a comparison with Git, including a table of commands, see https://github.com/martinvonz/jj/blob/main/docs/git-comparison.md.