Skip to content

doc: mention the tutorial in man git - #2334

Open
jvns wants to merge 1 commit into
gitgitgadget:masterfrom
jvns:mention-tutorial
Open

jvns wants to merge 1 commit into
gitgitgadget:masterfrom
jvns:mention-tutorial

Conversation

@jvns

@jvns jvns commented Nov 25, 2026

Copy link
Copy Markdown

ccing Kristoffer who I think is the most recent person to edit this.

cc: Kristoffer Haugsbakk kristofferhaugsbakk@fastmail.com

@gitgitgadget

gitgitgadget Bot commented Nov 25, 2026

Copy link
Copy Markdown

There is an issue in commit 854a063:
doc: mention the tutorial in man git``

  • Lines in the body of the commit messages should be wrapped between 60 and 76 characters.
    Indented lines, and lines without whitespace, are exempt

Previously the tutorial was outdated, so we deleted it from git.adoc
in e2e5e9f (doc: use `man git` to teach users how to
navigate the docs, 2026-10-16).

Now that we have a new tutorial, bring it and 'gitdatamodel' back,
using the same language as before.

Don't bring back the other documents, which are outdated.

Signed-off-by: Julia Evans <julia@jvns.ca>
@jvns

jvns commented Nov 25, 2026

Copy link
Copy Markdown
Author

/submit

@gitgitgadget

gitgitgadget Bot commented Nov 25, 2026

Copy link
Copy Markdown

Submitted as pull.2334.git.1795636878793.gitgitgadget@gmail.com

To fetch this version into FETCH_HEAD:

git fetch https://github.com/gitgitgadget/git/ pr-2334/jvns/mention-tutorial-v1

To fetch this version to local tag pr-2334/jvns/mention-tutorial-v1:

git fetch --no-tags https://github.com/gitgitgadget/git/ tag pr-2334/jvns/mention-tutorial-v1

@gitgitgadget

gitgitgadget Bot commented Nov 28, 2026

Copy link
Copy Markdown

"Kristoffer Haugsbakk" wrote on the Git mailing list (how to reply to this email):

Reading through.

On Wed, Nov 25, 2026, at 21:01, Julia Evans via GitGitGadget wrote:
> From: Julia Evans <julia@jvns.ca>
>
> Previously the tutorial was outdated, so we deleted it from git.adoc
> in e2e5e9f740 (doc: use `man git` to teach users how to
> navigate the docs, 2026-10-16).

Okay. That also removed gitdatamodel(7) because:

    mentioning the data model feels out of place once everything else is
    removed

>
> Now that we have a new tutorial,

This is 8f0635da (doc: add new Git tutorial for beginners, 2026-10-30).

> bring it and 'gitdatamodel' back,
> using the same language as before.

Does this patch/commit “logically” belong to the commit that you mention
here? In other words, was it a small oversight and that is the reason
why it is coming now? I ask because I know that you have long-term goals
and are working by building on previous series that you’ve sent here.

Okay, so this is the structure of “Description” with this applied:

1. Git is fast, [...]
2. See gittutorial(7) to get [...] See gitdatamodel(7)
3. There are two ways [...] `git <cmd> -h` and `git <cmd> --help`
4. There are guides... [...] use `git help ...`
5. View HTML versions with `git help --web` [...]

I think this flows well and makes sense.

At first I was wondering why gitturial(7) and gitdatamodel(7) wasn’t
moved to (4). But that doesn’t make sense. (2) mentions two important
guides for beginners and those who are interested in the data model
concepts, respectively. Meanwhile, (4) mentions how to access the guides
with git-help(1). And there we just need to know where we can find the
guides. It’s not a good place to shout out specific guides.

Acked-by: Kristoffer Haugsbakk <code@khaugsbakk.name>

>
> Don't bring back the other documents, which are outdated.
>
> Signed-off-by: Julia Evans <julia@jvns.ca>
> ---
>[snip]

@gitgitgadget

gitgitgadget Bot commented Nov 28, 2026

Copy link
Copy Markdown

Junio C Hamano wrote on the Git mailing list (how to reply to this email):

"Kristoffer Haugsbakk" <kristofferhaugsbakk@fastmail.com> writes:

> Does this patch/commit “logically” belong to the commit that you mention
> here?
>
> In other words, was it a small oversight and that is the reason
> why it is coming now? I ask because I know that you have long-term goals
> and are working by building on previous series that you’ve sent here.

Very good point.  There are certain "sequencing" requirements for these
patches.  Even without talking about Julia's long term goals, forking a
topic to hold this patch as if it is independent from these two commits
mentioned can make things inconsistent.

Thanks for raising it.

@gitgitgadget

gitgitgadget Bot commented Nov 28, 2026

Copy link
Copy Markdown

Julia Evans wrote on the Git mailing list (how to reply to this email):

On 2026-11-27 5:17 p.m., Junio C Hamano wrote:
> "Kristoffer Haugsbakk" <kristofferhaugsbakk@fastmail.com> writes:
>
>> Does this patch/commit “logically” belong to the commit that you mention
>> here?
>>
>> In other words, was it a small oversight and that is the reason
>> why it is coming now? I ask because I know that you have long-term goals
>> and are working by building on previous series that you’ve sent here.
> Very good point.  There are certain "sequencing" requirements for these
> patches.  Even without talking about Julia's long term goals, forking a
> topic to hold this patch as if it is independent from these two commits
> mentioned can make things inconsistent.
>
> Thanks for raising it.

I agree it doesn't logically belong in this commit. Basically what happened is that

1. I started a patch series to update git.adoc
2. I started a patch series to update the tutorial
3. patch series #1 was merged
4. patch series #2 was merged

I didn't know how to update patch series #2 (update tutorial) to update git.adoc after series #1 (update git.adoc) was merged, because my impression is that we're not supposed to rebase a branch on the latest master after it's been started. Hope that makes sense.

I'd love to understand better how to handle this kind of thing because I'm dealing with a similar issue right now in another series.

- Julia

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant