{"thread":{"id":"66934","subject":"[PATCH] doc: mention the tutorial in 'man git'","startedAt":"2026-11-25T20:01:18Z","lastAt":"2026-11-27T23:44:56Z","messageCount":4,"participants":["Julia Evans via GitGitGadget","Kristoffer Haugsbakk","Junio C Hamano","Julia Evans"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"559397","messageId":"pull.2334.git.1795636878793.gitgitgadget@gmail.com","threadId":"66934","inReplyTo":null,"subject":"[PATCH] doc: mention the tutorial in 'man git'","fromName":"Julia Evans via GitGitGadget","fromEmail":"gitgitgadget@gmail.com","sentAt":"2026-11-25T20:01:18Z","receivedAt":"2026-11-25T20:01:18Z","isPatch":true,"sender":{"key":"julia@jvns.ca","avatar":"https://avatars.githubusercontent.com/u/817739?v=4"},"body":"From: Julia Evans <julia@jvns.ca>\n\nPreviously the tutorial was outdated, so we deleted it from git.adoc\nin e2e5e9f740 (doc: use `man git` to teach users how to\nnavigate the docs, 2026-10-16).\n\nNow that we have a new tutorial, bring it and 'gitdatamodel' back,\nusing the same language as before.\n\nDon't bring back the other documents, which are outdated.\n\nSigned-off-by: Julia Evans <julia@jvns.ca>\n---\n    doc: mention the tutorial in man git\n    \n    ccing Kristoffer who I think is the most recent person to edit this.\n\nPublished-As: https://github.com/gitgitgadget/git/releases/tag/pr-2334%2Fjvns%2Fmention-tutorial-v1\nFetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-2334/jvns/mention-tutorial-v1\nPull-Request: https://github.com/gitgitgadget/git/pull/2334\n\n Documentation/git.adoc | 3 +++\n 1 file changed, 3 insertions(+)\n\ndiff --git a/Documentation/git.adoc b/Documentation/git.adoc\nindex 1aa0608bae..13be4cdcd6 100644\n--- a/Documentation/git.adoc\n+++ b/Documentation/git.adoc\n@@ -22,6 +22,9 @@ Git is a fast, scalable, distributed revision control system with an\n unusually rich command set that provides both high-level operations\n and full access to internals.\n \n+See linkgit:gittutorial[7] to get started with Git. See linkgit:gitdatamodel[7]\n+if you want to learn about the data model and important terminology.\n+\n There are two ways to get help with any Git subcommand (replace \"push\"\n with the command you want help with):\n \n\nbase-commit: 77904e546de3bd940621092ecec47a88d0cede5d\n-- \ngitgitgadget\n\n"},{"id":"559559","messageId":"0db2d28c-0f8e-46b9-9e2e-b1a08213d64b@app.fastmail.com","threadId":"66934","inReplyTo":"pull.2334.git.1795636878793.gitgitgadget@gmail.com","subject":"Re: [PATCH] doc: mention the tutorial in 'man git'","fromName":"Kristoffer Haugsbakk","fromEmail":"kristofferhaugsbakk@fastmail.com","sentAt":"2026-11-27T21:42:11Z","receivedAt":"2026-11-27T21:42:11Z","isPatch":true,"sender":{"key":"kristofferhaugsbakk@fastmail.com","avatar":null},"body":"Reading through.\n\nOn Wed, Nov 25, 2026, at 21:01, Julia Evans via GitGitGadget wrote:\n> From: Julia Evans <julia@jvns.ca>\n>\n> Previously the tutorial was outdated, so we deleted it from git.adoc\n> in e2e5e9f740 (doc: use `man git` to teach users how to\n> navigate the docs, 2026-10-16).\n\nOkay. That also removed gitdatamodel(7) because:\n\n    mentioning the data model feels out of place once everything else is\n    removed\n\n>\n> Now that we have a new tutorial,\n\nThis is 8f0635da (doc: add new Git tutorial for beginners, 2026-10-30).\n\n> bring it and 'gitdatamodel' back,\n> using the same language as before.\n\nDoes this patch/commit “logically” belong to the commit that you mention\nhere? In other words, was it a small oversight and that is the reason\nwhy it is coming now? I ask because I know that you have long-term goals\nand are working by building on previous series that you’ve sent here.\n\nOkay, so this is the structure of “Description” with this applied:\n\n1. Git is fast, [...]\n2. See gittutorial(7) to get [...] See gitdatamodel(7)\n3. There are two ways [...] `git <cmd> -h` and `git <cmd> --help`\n4. There are guides... [...] use `git help ...`\n5. View HTML versions with `git help --web` [...]\n\nI think this flows well and makes sense.\n\nAt first I was wondering why gitturial(7) and gitdatamodel(7) wasn’t\nmoved to (4). But that doesn’t make sense. (2) mentions two important\nguides for beginners and those who are interested in the data model\nconcepts, respectively. Meanwhile, (4) mentions how to access the guides\nwith git-help(1). And there we just need to know where we can find the\nguides. It’s not a good place to shout out specific guides.\n\nAcked-by: Kristoffer Haugsbakk <code@khaugsbakk.name>\n\n>\n> Don't bring back the other documents, which are outdated.\n>\n> Signed-off-by: Julia Evans <julia@jvns.ca>\n> ---\n>[snip]\n\n"},{"id":"559568","messageId":"xmqqy0ad6hs2.fsf@gitster.g","threadId":"66934","inReplyTo":"0db2d28c-0f8e-46b9-9e2e-b1a08213d64b@app.fastmail.com","subject":"Re: [PATCH] doc: mention the tutorial in 'man git'","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2026-11-27T22:17:33Z","receivedAt":"2026-11-27T22:17:33Z","isPatch":true,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"\"Kristoffer Haugsbakk\" <kristofferhaugsbakk@fastmail.com> writes:\n\n> Does this patch/commit “logically” belong to the commit that you mention\n> here?\n>\n> In other words, was it a small oversight and that is the reason\n> why it is coming now? I ask because I know that you have long-term goals\n> and are working by building on previous series that you’ve sent here.\n\nVery good point.  There are certain \"sequencing\" requirements for these\npatches.  Even without talking about Julia's long term goals, forking a\ntopic to hold this patch as if it is independent from these two commits\nmentioned can make things inconsistent.\n\nThanks for raising it.\n\n\n"},{"id":"559569","messageId":"e9a048ab-677e-4d02-8a6b-c88aafdeeb20@jvns.ca","threadId":"66934","inReplyTo":"xmqqy0ad6hs2.fsf@gitster.g","subject":"Re: [PATCH] doc: mention the tutorial in 'man git'","fromName":"Julia Evans","fromEmail":"julia@jvns.ca","sentAt":"2026-11-27T23:44:56Z","receivedAt":"2026-11-27T23:44:56Z","isPatch":true,"sender":{"key":"julia@jvns.ca","avatar":"https://avatars.githubusercontent.com/u/817739?v=4"},"body":"\nOn 2026-11-27 5:17 p.m., Junio C Hamano wrote:\n> \"Kristoffer Haugsbakk\" <kristofferhaugsbakk@fastmail.com> writes:\n>\n>> Does this patch/commit “logically” belong to the commit that you mention\n>> here?\n>>\n>> In other words, was it a small oversight and that is the reason\n>> why it is coming now? I ask because I know that you have long-term goals\n>> and are working by building on previous series that you’ve sent here.\n> Very good point.  There are certain \"sequencing\" requirements for these\n> patches.  Even without talking about Julia's long term goals, forking a\n> topic to hold this patch as if it is independent from these two commits\n> mentioned can make things inconsistent.\n>\n> Thanks for raising it.\n\nI agree it doesn't logically belong in this commit. Basically what happened is that\n\n1. I started a patch series to update git.adoc\n2. I started a patch series to update the tutorial\n3. patch series #1 was merged\n4. patch series #2 was merged\n\nI 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.\n\nI'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.\n\n- Julia\n\n\n"}]}