Git development
 help / color / mirror / Atom feed
* [PATCH] doc: mention the tutorial in 'man git'
@ 2026-11-25 20:01 Julia Evans via GitGitGadget
  2026-11-27 21:42 ` Kristoffer Haugsbakk
  0 siblings, 1 reply; 4+ messages in thread
From: Julia Evans via GitGitGadget @ 2026-11-25 20:01 UTC (permalink / raw)
  To: git; +Cc: Kristoffer Haugsbakk, Julia Evans, Julia Evans

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).

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>
---
    doc: mention the tutorial in man git
    
    ccing Kristoffer who I think is the most recent person to edit this.

Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-2334%2Fjvns%2Fmention-tutorial-v1
Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-2334/jvns/mention-tutorial-v1
Pull-Request: https://github.com/gitgitgadget/git/pull/2334

 Documentation/git.adoc | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Documentation/git.adoc b/Documentation/git.adoc
index 1aa0608bae..13be4cdcd6 100644
--- a/Documentation/git.adoc
+++ b/Documentation/git.adoc
@@ -22,6 +22,9 @@ Git is a fast, scalable, distributed revision control system with an
 unusually rich command set that provides both high-level operations
 and full access to internals.
 
+See linkgit:gittutorial[7] to get started with Git. See linkgit:gitdatamodel[7]
+if you want to learn about the data model and important terminology.
+
 There are two ways to get help with any Git subcommand (replace "push"
 with the command you want help with):
 

base-commit: 77904e546de3bd940621092ecec47a88d0cede5d
-- 
gitgitgadget

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] doc: mention the tutorial in 'man git'
  2026-11-25 20:01 [PATCH] doc: mention the tutorial in 'man git' Julia Evans via GitGitGadget
@ 2026-11-27 21:42 ` Kristoffer Haugsbakk
  2026-11-27 22:17   ` Junio C Hamano
  0 siblings, 1 reply; 4+ messages in thread
From: Kristoffer Haugsbakk @ 2026-11-27 21:42 UTC (permalink / raw)
  To: Thomas Bachem, git; +Cc: Julia Evans

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]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] doc: mention the tutorial in 'man git'
  2026-11-27 21:42 ` Kristoffer Haugsbakk
@ 2026-11-27 22:17   ` Junio C Hamano
  2026-11-27 23:44     ` Julia Evans
  0 siblings, 1 reply; 4+ messages in thread
From: Junio C Hamano @ 2026-11-27 22:17 UTC (permalink / raw)
  To: Kristoffer Haugsbakk; +Cc: Thomas Bachem, git, Julia Evans

"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.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] doc: mention the tutorial in 'man git'
  2026-11-27 22:17   ` Junio C Hamano
@ 2026-11-27 23:44     ` Julia Evans
  0 siblings, 0 replies; 4+ messages in thread
From: Julia Evans @ 2026-11-27 23:44 UTC (permalink / raw)
  To: Junio C Hamano, Kristoffer Haugsbakk; +Cc: Thomas Bachem, git


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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-11-27 23:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-25 20:01 [PATCH] doc: mention the tutorial in 'man git' Julia Evans via GitGitGadget
2026-11-27 21:42 ` Kristoffer Haugsbakk
2026-11-27 22:17   ` Junio C Hamano
2026-11-27 23:44     ` Julia Evans

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox