{"thread":{"id":"66411","subject":"[PATCH 0/3] [doc] Remove gittutorial-2","startedAt":"2026-09-28T20:25:24Z","lastAt":"2026-10-06T05:50:02Z","messageCount":24,"participants":["Julia Evans via GitGitGadget","Junio C Hamano","Julia Evans","Tuomas Ahola","Kristoffer Haugsbakk"],"isPatch":true,"patchVersion":1,"patchTotal":3},"messages":[{"id":"553517","messageId":"pull.2241.git.1790627122.gitgitgadget@gmail.com","threadId":"66411","inReplyTo":null,"subject":"[PATCH 0/3] [doc] Remove gittutorial-2","fromName":"Julia Evans via GitGitGadget","fromEmail":"gitgitgadget@gmail.com","sentAt":"2026-09-28T20:25:19Z","receivedAt":"2026-09-28T20:25:24Z","isPatch":true,"body":"This patch series removes gittutorial-2 and all references to it, leaving a\nstub behind to help out any users who might be looking for this\ndocumentation.\n\nThe goal is to remove obsolete documentation and make it easier to improve\nour tutorial material in the future.\n\nI tested that the docs are staying internally consistent by running git grep\ntutorial-2 and making sure that the only remaining references are in the\nMakefiles, the document itself, and some example output in user-manual.adoc\nwhich isn't relevant to the actual manual.\n\nHere's a pointer to a past discussion:\n\nhttps://lore.kernel.org/git/7004c3b1-2100-4a90-9815-2a679ceb25b2@app.fastmail.com/T/#mf600063180d6239916e3fa6e9d33da86969547ec\n\nJulia Evans (3):\n  [doc] Remove gittutorial-2\n  [doc] Remove references to gittutorial-2\n  [doc] Delete translations of gittutorial-2 description\n\n Documentation/MyFirstObjectWalk.adoc |   2 +-\n Documentation/git.adoc               |   2 +-\n Documentation/gitcore-tutorial.adoc  |   1 -\n Documentation/gitcvs-migration.adoc  |   2 +-\n Documentation/gitglossary.adoc       |   1 -\n Documentation/gittutorial-2.adoc     | 422 +--------------------------\n Documentation/gittutorial.adoc       |  23 +-\n command-list.txt                     |   1 -\n po/bg.po                             |   3 -\n po/ca.po                             |   4 -\n po/de.po                             |   3 -\n po/el.po                             |   4 -\n po/es.po                             |   3 -\n po/fr.po                             |   3 -\n po/ga.po                             |   3 -\n po/id.po                             |   3 -\n po/it.po                             |   4 -\n po/ko.po                             |   3 -\n po/pl.po                             |   3 -\n po/pt_PT.po                          |   4 -\n po/ru.po                             |   3 -\n po/sv.po                             |   3 -\n po/tr.po                             |   3 -\n po/uk.po                             |   3 -\n po/vi.po                             |   3 -\n po/zh_CN.po                          |   4 -\n po/zh_TW.po                          |   4 -\n 27 files changed, 14 insertions(+), 503 deletions(-)\n\n\nbase-commit: 0f8e75abebff0877cae681a3d5ff31ac47f54220\nPublished-As: https://github.com/gitgitgadget/git/releases/tag/pr-2241%2Fjvns%2Fdelete-tutorial2-v1\nFetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-2241/jvns/delete-tutorial2-v1\nPull-Request: https://github.com/gitgitgadget/git/pull/2241\n-- \ngitgitgadget\n"},{"id":"553518","messageId":"54404cd8df9d1ea55a947c82f27f20674dc7b091.1790627122.git.gitgitgadget@gmail.com","threadId":"66411","inReplyTo":"pull.2241.git.1790627122.gitgitgadget@gmail.com","subject":"[PATCH 1/3] [doc] Remove gittutorial-2","fromName":"Julia Evans via GitGitGadget","fromEmail":"gitgitgadget@gmail.com","sentAt":"2026-09-28T20:25:20Z","receivedAt":"2026-09-28T20:25:25Z","isPatch":true,"body":"From: Julia Evans <julia@jvns.ca>\n\nIt hasn't been substantially updated for 20 years\n(see `git diff e31952da5c52a4c1:Documentation/tutorial-2.txt\n               0f8e75abebff0877:Documentation/gittutorial-2.adoc`)\nand it's becoming out of date, for example:\n\n- refs do not necessarily live in `.git/refs`\n- we don't really call it \"the index file\" anymore, and we don't\n  encourage users to think about the individual files in `.git` as much\n  as we did 20 years ago\n\nMore importantly, this approach of introducing Git by learning about the\ncontents of `.git` does not work for most people learning Git for the\nfirst time. It's interesting information for some people (maybe more\nadvanced users or folks with a strong computer science background, for\nnot appropriate for a general tutorial).\n\nRight now `gittutorial-2` is meant to be a logical sequel to\n`gittutorial` (\"read gittutorial, then gittutorial-2\").\nDeleting `gittutorial-2` means that we can more easily rewrite the main\n`gittutorial` (which is also not effective) in any way we want, without\nhaving to make sure that `gittutorial-2` is the logical next step.\n\nWe have other documentation which can serve a similar purpose to\ntutorial-2 and isn't framed as a general tutorial appropriate for\neveryone.\n\nKeep building the man page for now and leave behind a stub to\nredirect folks to those other documents.\n\nSigned-off-by: Julia Evans <julia@jvns.ca>\n---\n Documentation/gittutorial-2.adoc | 422 +------------------------------\n 1 file changed, 6 insertions(+), 416 deletions(-)\n\ndiff --git a/Documentation/gittutorial-2.adoc b/Documentation/gittutorial-2.adoc\nindex 8bdb7d0bd3..6396e763c4 100644\n--- a/Documentation/gittutorial-2.adoc\n+++ b/Documentation/gittutorial-2.adoc\n@@ -3,7 +3,7 @@ gittutorial-2(7)\n \n NAME\n ----\n-gittutorial-2 - A tutorial introduction to Git: part two\n+gittutorial-2 - Obsolete tutorial\n \n SYNOPSIS\n --------\n@@ -13,423 +13,13 @@ git *\n DESCRIPTION\n -----------\n \n-You should work through linkgit:gittutorial[7] before reading this tutorial.\n+This tutorial has been deleted since it had become very stale.\n \n-The goal of this tutorial is to introduce two fundamental pieces of\n-Git's architecture--the object database and the index file--and to\n-provide the reader with everything necessary to understand the rest\n-of the Git documentation.\n+See linkgit:gitdatamodel[7] for an explanation of how Git's core data\n+structures work (objects, references and the index).\n \n-The Git object database\n------------------------\n-\n-Let's start a new project and create a small amount of history:\n-\n-------------------------------------------------\n-$ mkdir test-project\n-$ cd test-project\n-$ git init\n-Initialized empty Git repository in .git/\n-$ echo 'hello world' > file.txt\n-$ git add .\n-$ git commit -a -m \"initial commit\"\n-[master (root-commit) 54196cc] initial commit\n- 1 file changed, 1 insertion(+)\n- create mode 100644 file.txt\n-$ echo 'hello world!' >file.txt\n-$ git commit -a -m \"add emphasis\"\n-[master c4d59f3] add emphasis\n- 1 file changed, 1 insertion(+), 1 deletion(-)\n-------------------------------------------------\n-\n-What are the 7 digits of hex that Git responded to the commit with?\n-\n-We saw in part one of the tutorial that commits have names like this.\n-It turns out that every object in the Git history is stored under\n-a 40-digit hex name.  That name is the SHA-1 hash of the object's\n-contents; among other things, this ensures that Git will never store\n-the same data twice (since identical data is given an identical SHA-1\n-name), and that the contents of a Git object will never change (since\n-that would change the object's name as well). The 7 char hex strings\n-here are simply the abbreviation of such 40 character long strings.\n-Abbreviations can be used everywhere where the 40 character strings\n-can be used, so long as they are unambiguous.\n-\n-It is expected that the content of the commit object you created while\n-following the example above generates a different SHA-1 hash than\n-the one shown above because the commit object records the time when\n-it was created and the name of the person performing the commit.\n-\n-We can ask Git about this particular object with the `cat-file`\n-command. Don't copy the 40 hex digits from this example but use those\n-from your own version. Note that you can shorten it to only a few\n-characters to save yourself typing all 40 hex digits:\n-\n-------------------------------------------------\n-$ git cat-file -t 54196cc2\n-commit\n-$ git cat-file commit 54196cc2\n-tree 92b8b694ffb1675e5975148e1121810081dbdffe\n-author J. Bruce Fields <bfields@puzzle.fieldses.org> 1143414668 -0500\n-committer J. Bruce Fields <bfields@puzzle.fieldses.org> 1143414668 -0500\n-\n-initial commit\n-------------------------------------------------\n-\n-A tree can refer to one or more \"blob\" objects, each corresponding to\n-a file.  In addition, a tree can also refer to other tree objects,\n-thus creating a directory hierarchy.  You can examine the contents of\n-any tree using ls-tree (remember that a long enough initial portion\n-of the SHA-1 will also work):\n-\n-------------------------------------------------\n-$ git ls-tree 92b8b694\n-100644 blob 3b18e512dba79e4c8300dd08aeb37f8e728b8dad    file.txt\n-------------------------------------------------\n-\n-Thus we see that this tree has one file in it.  The SHA-1 hash is a\n-reference to that file's data:\n-\n-------------------------------------------------\n-$ git cat-file -t 3b18e512\n-blob\n-------------------------------------------------\n-\n-A \"blob\" is just file data, which we can also examine with cat-file:\n-\n-------------------------------------------------\n-$ git cat-file blob 3b18e512\n-hello world\n-------------------------------------------------\n-\n-Note that this is the old file data; so the object that Git named in\n-its response to the initial tree was a tree with a snapshot of the\n-directory state that was recorded by the first commit.\n-\n-All of these objects are stored under their SHA-1 names inside the Git\n-directory:\n-\n-------------------------------------------------\n-$ find .git/objects/\n-.git/objects/\n-.git/objects/pack\n-.git/objects/info\n-.git/objects/3b\n-.git/objects/3b/18e512dba79e4c8300dd08aeb37f8e728b8dad\n-.git/objects/92\n-.git/objects/92/b8b694ffb1675e5975148e1121810081dbdffe\n-.git/objects/54\n-.git/objects/54/196cc2703dc165cbd373a65a4dcf22d50ae7f7\n-.git/objects/a0\n-.git/objects/a0/423896973644771497bdc03eb99d5281615b51\n-.git/objects/d0\n-.git/objects/d0/492b368b66bdabf2ac1fd8c92b39d3db916e59\n-.git/objects/c4\n-.git/objects/c4/d59f390b9cfd4318117afde11d601c1085f241\n-------------------------------------------------\n-\n-and the contents of these files is just the compressed data plus a\n-header identifying their length and their type.  The type is either a\n-blob, a tree, a commit, or a tag.\n-\n-The simplest commit to find is the HEAD commit, which we can find\n-from .git/HEAD:\n-\n-------------------------------------------------\n-$ cat .git/HEAD\n-ref: refs/heads/master\n-------------------------------------------------\n-\n-As you can see, this tells us which branch we're currently on, and it\n-tells us this by naming a file under the .git directory, which itself\n-contains a SHA-1 name referring to a commit object, which we can\n-examine with cat-file:\n-\n-------------------------------------------------\n-$ cat .git/refs/heads/master\n-c4d59f390b9cfd4318117afde11d601c1085f241\n-$ git cat-file -t c4d59f39\n-commit\n-$ git cat-file commit c4d59f39\n-tree d0492b368b66bdabf2ac1fd8c92b39d3db916e59\n-parent 54196cc2703dc165cbd373a65a4dcf22d50ae7f7\n-author J. Bruce Fields <bfields@puzzle.fieldses.org> 1143418702 -0500\n-committer J. Bruce Fields <bfields@puzzle.fieldses.org> 1143418702 -0500\n-\n-add emphasis\n-------------------------------------------------\n-\n-The \"tree\" object here refers to the new state of the tree:\n-\n-------------------------------------------------\n-$ git ls-tree d0492b36\n-100644 blob a0423896973644771497bdc03eb99d5281615b51    file.txt\n-$ git cat-file blob a0423896\n-hello world!\n-------------------------------------------------\n-\n-and the \"parent\" object refers to the previous commit:\n-\n-------------------------------------------------\n-$ git cat-file commit 54196cc2\n-tree 92b8b694ffb1675e5975148e1121810081dbdffe\n-author J. Bruce Fields <bfields@puzzle.fieldses.org> 1143414668 -0500\n-committer J. Bruce Fields <bfields@puzzle.fieldses.org> 1143414668 -0500\n-\n-initial commit\n-------------------------------------------------\n-\n-The tree object is the tree we examined first, and this commit is\n-unusual in that it lacks any parent.\n-\n-Most commits have only one parent, but it is also common for a commit\n-to have multiple parents.   In that case the commit represents a\n-merge, with the parent references pointing to the heads of the merged\n-branches.\n-\n-Besides blobs, trees, and commits, the only remaining type of object\n-is a \"tag\", which we won't discuss here; refer to linkgit:git-tag[1]\n-for details.\n-\n-So now we know how Git uses the object database to represent a\n-project's history:\n-\n-  * \"commit\" objects refer to \"tree\" objects representing the\n-    snapshot of a directory tree at a particular point in the\n-    history, and refer to \"parent\" commits to show how they're\n-    connected into the project history.\n-  * \"tree\" objects represent the state of a single directory,\n-    associating directory names to \"blob\" objects containing file\n-    data and \"tree\" objects containing subdirectory information.\n-  * \"blob\" objects contain file data without any other structure.\n-  * References to commit objects at the head of each branch are\n-    stored in files under .git/refs/heads/.\n-  * The name of the current branch is stored in .git/HEAD.\n-\n-Note, by the way, that lots of commands take a tree as an argument.\n-But as we can see above, a tree can be referred to in many different\n-ways--by the SHA-1 name for that tree, by the name of a commit that\n-refers to the tree, by the name of a branch whose head refers to that\n-tree, etc.--and most such commands can accept any of these names.\n-\n-In command synopses, the word \"tree-ish\" is sometimes used to\n-designate such an argument.\n-\n-The index file\n---------------\n-\n-The primary tool we've been using to create commits is `git-commit\n--a`, which creates a commit including every change you've made to\n-your working tree.  But what if you want to commit changes only to\n-certain files?  Or only certain changes to certain files?\n-\n-If we look at the way commits are created under the cover, we'll see\n-that there are more flexible ways creating commits.\n-\n-Continuing with our test-project, let's modify file.txt again:\n-\n-------------------------------------------------\n-$ echo \"hello world, again\" >>file.txt\n-------------------------------------------------\n-\n-but this time instead of immediately making the commit, let's take an\n-intermediate step, and ask for diffs along the way to keep track of\n-what's happening:\n-\n-------------------------------------------------\n-$ git diff\n---- a/file.txt\n-+++ b/file.txt\n-@@ -1 +1,2 @@\n- hello world!\n-+hello world, again\n-$ git add file.txt\n-$ git diff\n-------------------------------------------------\n-\n-The last diff is empty, but no new commits have been made, and the\n-head still doesn't contain the new line:\n-\n-------------------------------------------------\n-$ git diff HEAD\n-diff --git a/file.txt b/file.txt\n-index a042389..513feba 100644\n---- a/file.txt\n-+++ b/file.txt\n-@@ -1 +1,2 @@\n- hello world!\n-+hello world, again\n-------------------------------------------------\n-\n-So 'git diff' is comparing against something other than the head.\n-The thing that it's comparing against is actually the index file,\n-which is stored in .git/index in a binary format, but whose contents\n-we can examine with ls-files:\n-\n-------------------------------------------------\n-$ git ls-files --stage\n-100644 513feba2e53ebbd2532419ded848ba19de88ba00 0       file.txt\n-$ git cat-file -t 513feba2\n-blob\n-$ git cat-file blob 513feba2\n-hello world!\n-hello world, again\n-------------------------------------------------\n-\n-So what our 'git add' did was store a new blob and then put\n-a reference to it in the index file.  If we modify the file again,\n-we'll see that the new modifications are reflected in the 'git diff'\n-output:\n-\n-------------------------------------------------\n-$ echo 'again?' >>file.txt\n-$ git diff\n-index 513feba..ba3da7b 100644\n---- a/file.txt\n-+++ b/file.txt\n-@@ -1,2 +1,3 @@\n- hello world!\n- hello world, again\n-+again?\n-------------------------------------------------\n-\n-With the right arguments, 'git diff' can also show us the difference\n-between the working directory and the last commit, or between the\n-index and the last commit:\n-\n-------------------------------------------------\n-$ git diff HEAD\n-diff --git a/file.txt b/file.txt\n-index a042389..ba3da7b 100644\n---- a/file.txt\n-+++ b/file.txt\n-@@ -1 +1,3 @@\n- hello world!\n-+hello world, again\n-+again?\n-$ git diff --cached\n-diff --git a/file.txt b/file.txt\n-index a042389..513feba 100644\n---- a/file.txt\n-+++ b/file.txt\n-@@ -1 +1,2 @@\n- hello world!\n-+hello world, again\n-------------------------------------------------\n-\n-At any time, we can create a new commit using 'git commit' (without\n-the \"-a\" option), and verify that the state committed only includes the\n-changes stored in the index file, not the additional change that is\n-still only in our working tree:\n-\n-------------------------------------------------\n-$ git commit -m \"repeat\"\n-$ git diff HEAD\n-diff --git a/file.txt b/file.txt\n-index 513feba..ba3da7b 100644\n---- a/file.txt\n-+++ b/file.txt\n-@@ -1,2 +1,3 @@\n- hello world!\n- hello world, again\n-+again?\n-------------------------------------------------\n-\n-So by default 'git commit' uses the index to create the commit, not\n-the working tree; the \"-a\" option to commit tells it to first update\n-the index with all changes in the working tree.\n-\n-Finally, it's worth looking at the effect of 'git add' on the index\n-file:\n-\n-------------------------------------------------\n-$ echo \"goodbye, world\" >closing.txt\n-$ git add closing.txt\n-------------------------------------------------\n-\n-The effect of the 'git add' was to add one entry to the index file:\n-\n-------------------------------------------------\n-$ git ls-files --stage\n-100644 8b9743b20d4b15be3955fc8d5cd2b09cd2336138 0       closing.txt\n-100644 513feba2e53ebbd2532419ded848ba19de88ba00 0       file.txt\n-------------------------------------------------\n-\n-And, as you can see with cat-file, this new entry refers to the\n-current contents of the file:\n-\n-------------------------------------------------\n-$ git cat-file blob 8b9743b2\n-goodbye, world\n-------------------------------------------------\n-\n-The \"status\" command is a useful way to get a quick summary of the\n-situation:\n-\n-------------------------------------------------\n-$ git status\n-On branch master\n-Changes to be committed:\n-  (use \"git restore --staged <file>...\" to unstage)\n-\n-\tnew file:   closing.txt\n-\n-Changes not staged for commit:\n-  (use \"git add <file>...\" to update what will be committed)\n-  (use \"git restore <file>...\" to discard changes in working directory)\n-\n-\tmodified:   file.txt\n-\n-------------------------------------------------\n-\n-Since the current state of closing.txt is cached in the index file,\n-it is listed as \"Changes to be committed\".  Since file.txt has\n-changes in the working directory that aren't reflected in the index,\n-it is marked \"changed but not updated\".  At this point, running \"git\n-commit\" would create a commit that added closing.txt (with its new\n-contents), but that didn't modify file.txt.\n-\n-Also, note that a bare `git diff` shows the changes to file.txt, but\n-not the addition of closing.txt, because the version of closing.txt\n-in the index file is identical to the one in the working directory.\n-\n-In addition to being the staging area for new commits, the index file\n-is also populated from the object database when checking out a\n-branch, and is used to hold the trees involved in a merge operation.\n-See linkgit:gitcore-tutorial[7] and the relevant man\n-pages for details.\n-\n-What next?\n-----------\n-\n-At this point you should know everything necessary to read the man\n-pages for any of the git commands; one good place to start would be\n-with the commands mentioned in linkgit:giteveryday[7].  You\n-should be able to find any unknown jargon in linkgit:gitglossary[7].\n-\n-The link:user-manual.html[Git User's Manual] provides a more\n-comprehensive introduction to Git.\n-\n-linkgit:gitcvs-migration[7] explains how to\n-import a CVS repository into Git, and shows how to use Git in a\n-CVS-like way.\n-\n-For some interesting examples of Git use, see the\n-link:howto-index.html[howtos].\n-\n-For Git developers, linkgit:gitcore-tutorial[7] goes\n-into detail on the lower-level Git mechanisms involved in, for\n-example, creating a new commit.\n-\n-SEE ALSO\n---------\n-linkgit:gittutorial[7],\n-linkgit:gitcvs-migration[7],\n-linkgit:gitcore-tutorial[7],\n-linkgit:gitglossary[7],\n-linkgit:git-help[1],\n-linkgit:giteveryday[7],\n-link:user-manual.html[The Git User's Manual]\n+See linkgit:gitcore-tutorial[7] for a practical tutorial on how to\n+explore Git's internals.\n \n GIT\n ---\n-- \ngitgitgadget\n\n"},{"id":"553519","messageId":"a76819e3aff80b587156ba805fc6e93bb54cc41b.1790627122.git.gitgitgadget@gmail.com","threadId":"66411","inReplyTo":"pull.2241.git.1790627122.gitgitgadget@gmail.com","subject":"[PATCH 2/3] [doc] Remove references to gittutorial-2","fromName":"Julia Evans via GitGitGadget","fromEmail":"gitgitgadget@gmail.com","sentAt":"2026-09-28T20:25:21Z","receivedAt":"2026-09-28T20:25:26Z","isPatch":true,"body":"From: Julia Evans <julia@jvns.ca>\n\nRedirect folks to `gitdatamodel` instead, since every time it's\nreferenced the intent is to explain objects, references, blobs, etc.\n\nThe update to `gittutorial` isn't very carefully thought through since\nwe're planning to delete that entire document anyway. It's just there to\nmaintain some internal consistency.\n\nSigned-off-by: Julia Evans <julia@jvns.ca>\n---\n Documentation/MyFirstObjectWalk.adoc |  2 +-\n Documentation/git.adoc               |  2 +-\n Documentation/gitcore-tutorial.adoc  |  1 -\n Documentation/gitcvs-migration.adoc  |  2 +-\n Documentation/gitglossary.adoc       |  1 -\n Documentation/gittutorial.adoc       | 23 +++++------------------\n 6 files changed, 8 insertions(+), 23 deletions(-)\n\ndiff --git a/Documentation/MyFirstObjectWalk.adoc b/Documentation/MyFirstObjectWalk.adoc\nindex 413a9fdb05..76e635b93a 100644\n--- a/Documentation/MyFirstObjectWalk.adoc\n+++ b/Documentation/MyFirstObjectWalk.adoc\n@@ -145,7 +145,7 @@ used to track the allocated size of the list.\n Per entry, we find:\n \n `item` is the object provided upon which to base the object walk. Items in Git\n-can be blobs, trees, commits, or tags. (See `Documentation/gittutorial-2.adoc`.)\n+can be blobs, trees, commits, or tags. (See `Documentation/gitdatamodel.adoc`.)\n \n `name` is the object ID (OID) of the object - a hex string you may be familiar\n with from using Git to organize your source in the past. Check the tutorial\ndiff --git a/Documentation/git.adoc b/Documentation/git.adoc\nindex 6f0075f918..1f0cbaee7a 100644\n--- a/Documentation/git.adoc\n+++ b/Documentation/git.adoc\n@@ -1200,7 +1200,7 @@ the Git Security mailing list <git-security@googlegroups.com>.\n \n SEE ALSO\n --------\n-linkgit:gittutorial[7], linkgit:gittutorial-2[7],\n+linkgit:gittutorial[7],\n linkgit:giteveryday[7], linkgit:gitcvs-migration[7],\n linkgit:gitglossary[7], linkgit:gitdatamodel[7],\n linkgit:gitcore-tutorial[7], linkgit:gitcli[7],\ndiff --git a/Documentation/gitcore-tutorial.adoc b/Documentation/gitcore-tutorial.adoc\nindex 2122aeb976..abbe193056 100644\n--- a/Documentation/gitcore-tutorial.adoc\n+++ b/Documentation/gitcore-tutorial.adoc\n@@ -1649,7 +1649,6 @@ to follow, not easier.\n SEE ALSO\n --------\n linkgit:gittutorial[7],\n-linkgit:gittutorial-2[7],\n linkgit:gitcvs-migration[7],\n linkgit:git-help[1],\n linkgit:giteveryday[7],\ndiff --git a/Documentation/gitcvs-migration.adoc b/Documentation/gitcvs-migration.adoc\nindex 905d08cd5f..66a5c3ed6d 100644\n--- a/Documentation/gitcvs-migration.adoc\n+++ b/Documentation/gitcvs-migration.adoc\n@@ -194,7 +194,7 @@ repositories without the need for a central maintainer.\n SEE ALSO\n --------\n linkgit:gittutorial[7],\n-linkgit:gittutorial-2[7],\n+linkgit:gitdatamodel[7],\n linkgit:gitcore-tutorial[7],\n linkgit:gitglossary[7],\n linkgit:giteveryday[7],\ndiff --git a/Documentation/gitglossary.adoc b/Documentation/gitglossary.adoc\nindex b046d9cb29..6051f494d3 100644\n--- a/Documentation/gitglossary.adoc\n+++ b/Documentation/gitglossary.adoc\n@@ -18,7 +18,6 @@ SEE ALSO\n --------\n linkgit:gitdatamodel[7],\n linkgit:gittutorial[7],\n-linkgit:gittutorial-2[7],\n linkgit:gitcvs-migration[7],\n linkgit:giteveryday[7],\n link:user-manual.html[The Git User's Manual]\ndiff --git a/Documentation/gittutorial.adoc b/Documentation/gittutorial.adoc\nindex 519b8d8be2..006e534778 100644\n--- a/Documentation/gittutorial.adoc\n+++ b/Documentation/gittutorial.adoc\n@@ -622,24 +622,12 @@ Next Steps\n ----------\n \n This tutorial should be enough to perform basic distributed revision\n-control for your projects.  However, to fully understand the depth\n-and power of Git you need to understand two simple ideas on which it\n-is based:\n+control for your projects.  However, to fully understand the Git\n+documentation, it's useful to learn how Git stores the history of\n+your project in its database. See linkgit:gitdatamodel[7] for an\n+explanation.\n \n-  * The object database is the rather elegant system used to\n-    store the history of your project--files, directories, and\n-    commits.\n-\n-  * The index file is a cache of the state of a directory tree,\n-    used to create commits, check out working directories, and\n-    hold the various trees involved in a merge.\n-\n-Part two of this tutorial explains the object\n-database, the index file, and a few other odds and ends that you'll\n-need to make the most of Git. You can find it at linkgit:gittutorial-2[7].\n-\n-If you don't want to continue with that right away, a few other\n-digressions that may be interesting at this point are:\n+A few other commands that may be interesting:\n \n   * linkgit:git-format-patch[1], linkgit:git-am[1]: These convert\n     series of git commits into emailed patches, and vice versa,\n@@ -662,7 +650,6 @@ digressions that may be interesting at this point are:\n \n SEE ALSO\n --------\n-linkgit:gittutorial-2[7],\n linkgit:gitcvs-migration[7],\n linkgit:gitcore-tutorial[7],\n linkgit:gitglossary[7],\n-- \ngitgitgadget\n\n"},{"id":"553520","messageId":"017ca1346d40e386abf943c9f22ccc365bbf4d7a.1790627122.git.gitgitgadget@gmail.com","threadId":"66411","inReplyTo":"pull.2241.git.1790627122.gitgitgadget@gmail.com","subject":"[PATCH 3/3] [doc] Delete translations of gittutorial-2 description","fromName":"Julia Evans via GitGitGadget","fromEmail":"gitgitgadget@gmail.com","sentAt":"2026-09-28T20:25:22Z","receivedAt":"2026-09-28T20:25:28Z","isPatch":true,"body":"From: Julia Evans <julia@jvns.ca>\n\nThe tutorial has been deleted so we don't need the translations anymore.\n\nDeleted them with sed like this to try to avoid making mistakes by\ndeleting them manually, and then cleaned up the comments by hand\nsed -I '' '/msgid \"A tutorial introduction to Git: part two\"/,+2d' po/*.po\n\nSigned-off-by: Julia Evans <julia@jvns.ca>\n---\n command-list.txt | 1 -\n po/bg.po         | 3 ---\n po/ca.po         | 4 ----\n po/de.po         | 3 ---\n po/el.po         | 4 ----\n po/es.po         | 3 ---\n po/fr.po         | 3 ---\n po/ga.po         | 3 ---\n po/id.po         | 3 ---\n po/it.po         | 4 ----\n po/ko.po         | 3 ---\n po/pl.po         | 3 ---\n po/pt_PT.po      | 4 ----\n po/ru.po         | 3 ---\n po/sv.po         | 3 ---\n po/tr.po         | 3 ---\n po/uk.po         | 3 ---\n po/vi.po         | 3 ---\n po/zh_CN.po      | 4 ----\n po/zh_TW.po      | 4 ----\n 20 files changed, 64 deletions(-)\n\ndiff --git a/command-list.txt b/command-list.txt\nindex 63ae2a67c9..5c649c882e 100644\n--- a/command-list.txt\n+++ b/command-list.txt\n@@ -244,7 +244,6 @@ gitrepository-layout                    userinterfaces\n gitrevisions                            userinterfaces\n gitsubmodules                           guide\n gittutorial                             guide\n-gittutorial-2                           guide\n gitweb                                  ancillaryinterrogators\n gitworkflows                            guide\n scalar                                  mainporcelain\ndiff --git a/po/bg.po b/po/bg.po\nindex e11e536182..fae7ca2c71 100644\n--- a/po/bg.po\n+++ b/po/bg.po\n@@ -17097,9 +17097,6 @@ msgstr \"Монтиране на едно хранилище в друго\"\n msgid \"A tutorial introduction to Git\"\n msgstr \"Въвеждащ урок за Git\"\n \n-msgid \"A tutorial introduction to Git: part two\"\n-msgstr \"Въвеждащ урок за Git: втора част\"\n-\n msgid \"Git web interface (web frontend to Git repositories)\"\n msgstr \"Уеб интерфейс на Git\"\n \ndiff --git a/po/ca.po b/po/ca.po\nindex e8cfa5e925..73f071f048 100644\n--- a/po/ca.po\n+++ b/po/ca.po\n@@ -20846,10 +20846,6 @@ msgstr \"Muntant un repositori dins un altre\"\n msgid \"A tutorial introduction to Git\"\n msgstr \"Un tutorial d'introducció al Git\"\n \n-#: command-list.h\n-msgid \"A tutorial introduction to Git: part two\"\n-msgstr \"Un tutorial d'introducció al Git: segona part\"\n-\n #: command-list.h\n msgid \"Git web interface (web frontend to Git repositories)\"\n msgstr \"Interfície web del Git (interfície web pels repositoris Git)\"\ndiff --git a/po/de.po b/po/de.po\nindex 6b65bb6180..abf37baa43 100644\n--- a/po/de.po\n+++ b/po/de.po\n@@ -15263,9 +15263,6 @@ msgstr \"Einbinden eines Repositories in ein anderes\"\n msgid \"A tutorial introduction to Git\"\n msgstr \"eine einführende Anleitung zu Git\"\n \n-msgid \"A tutorial introduction to Git: part two\"\n-msgstr \"eine einführende Anleitung zu Git: Teil zwei\"\n-\n msgid \"Git web interface (web frontend to Git repositories)\"\n msgstr \"Git Web Interface (Web-Frontend für Git-Repositories)\"\n \ndiff --git a/po/el.po b/po/el.po\nindex 703f46d0c7..5809b434ee 100644\n--- a/po/el.po\n+++ b/po/el.po\n@@ -19747,10 +19747,6 @@ msgstr \"\"\n msgid \"Specifying revisions and ranges for Git\"\n msgstr \"\"\n \n-#: command-list.h:206\n-msgid \"A tutorial introduction to Git: part two\"\n-msgstr \"\"\n-\n #: command-list.h:207\n msgid \"A tutorial introduction to Git\"\n msgstr \"\"\ndiff --git a/po/es.po b/po/es.po\nindex aa1bb9bf90..dcdcbf5360 100644\n--- a/po/es.po\n+++ b/po/es.po\n@@ -14046,9 +14046,6 @@ msgstr \"Montar un repositorio dentro de otro\"\n msgid \"A tutorial introduction to Git\"\n msgstr \"Un tutorial de introducción a Git\"\n \n-msgid \"A tutorial introduction to Git: part two\"\n-msgstr \"Un tutorial de introducción a Git: parte dos\"\n-\n msgid \"Git web interface (web frontend to Git repositories)\"\n msgstr \"Interfaz web Git (interfaz web para repositorios Git)\"\n \ndiff --git a/po/fr.po b/po/fr.po\nindex f9613e793f..2e020cedf6 100644\n--- a/po/fr.po\n+++ b/po/fr.po\n@@ -16698,9 +16698,6 @@ msgstr \"Montage d'un dépôt dans un autre dépôt\"\n msgid \"A tutorial introduction to Git\"\n msgstr \"Une introduction pratique à Git\"\n \n-msgid \"A tutorial introduction to Git: part two\"\n-msgstr \"Une introduction pratique à Git : deuxième partie\"\n-\n msgid \"Git web interface (web frontend to Git repositories)\"\n msgstr \"Interface web de Git\"\n \ndiff --git a/po/ga.po b/po/ga.po\nindex 3d04a3bc51..b023d7fb3f 100644\n--- a/po/ga.po\n+++ b/po/ga.po\n@@ -16521,9 +16521,6 @@ msgstr \"Stóra amháin a chur isteach taobh istigh de cheann\"\n msgid \"A tutorial introduction to Git\"\n msgstr \"Réamhrá teagaisc ar Git\"\n \n-msgid \"A tutorial introduction to Git: part two\"\n-msgstr \"Réamhrá teagaisc ar Git: cuid a dara\"\n-\n msgid \"Git web interface (web frontend to Git repositories)\"\n msgstr \"Comhéadan gréasáin Git (tosaigh gréasáin chuig stórais Git)\"\n \ndiff --git a/po/id.po b/po/id.po\nindex 381db5a4bf..4176009e8f 100644\n--- a/po/id.po\n+++ b/po/id.po\n@@ -20476,9 +20476,6 @@ msgid \"A tutorial introduction to Git\"\n msgstr \"Tutorial perkenalan Git\"\n \n #: command-list.h\n-msgid \"A tutorial introduction to Git: part two\"\n-msgstr \"Tutorial perkenalan Git: bagian dua\"\n-\n #: command-list.h\n msgid \"Git web interface (web frontend to Git repositories)\"\n msgstr \"Antarmuka web Git (tampilan depan web untuk repositori Git)\"\ndiff --git a/po/it.po b/po/it.po\nindex b5ccd8c731..d180be5e88 100644\n--- a/po/it.po\n+++ b/po/it.po\n@@ -24498,10 +24498,6 @@ msgstr \"Come specificare revisioni e intervalli in Git\"\n msgid \"Mounting one repository inside another\"\n msgstr \"Monto un repository dentro un altro\"\n \n-#: command-list.h:215\n-msgid \"A tutorial introduction to Git: part two\"\n-msgstr \"Un tutorial introduttivo per Git: seconda parte\"\n-\n #: command-list.h:216\n msgid \"A tutorial introduction to Git\"\n msgstr \"Un tutorial introduttivo per Git\"\ndiff --git a/po/ko.po b/po/ko.po\nindex 7a6847f023..a930084b5b 100644\n--- a/po/ko.po\n+++ b/po/ko.po\n@@ -15972,9 +15972,6 @@ msgid \"Specifying revisions and ranges for Git\"\n msgstr \"깃의 리비전 및 범위를 지정하기\"\n \n #: command-list.h:204\n-msgid \"A tutorial introduction to Git: part two\"\n-msgstr \"깃 따라하기 안내서: 2부\"\n-\n #: command-list.h:205\n msgid \"A tutorial introduction to Git\"\n msgstr \"깃 따라하기 안내서\"\ndiff --git a/po/pl.po b/po/pl.po\nindex 0ec127e14c..9e75518503 100644\n--- a/po/pl.po\n+++ b/po/pl.po\n@@ -25581,9 +25581,6 @@ msgid \"Mounting one repository inside another\"\n msgstr \"Montowanie jednego repozytorium w drugim\"\n \n #: command-list.h:216\n-msgid \"A tutorial introduction to Git: part two\"\n-msgstr \"Samouczek wprowadzenia do Gita: część druga\"\n-\n #: command-list.h:217\n msgid \"A tutorial introduction to Git\"\n msgstr \"Samouczek wprowadzenia do Gita\"\ndiff --git a/po/pt_PT.po b/po/pt_PT.po\nindex 32142531bb..875671179a 100644\n--- a/po/pt_PT.po\n+++ b/po/pt_PT.po\n@@ -25857,10 +25857,6 @@ msgstr \"\"\n msgid \"A tutorial introduction to Git\"\n msgstr \"Um tutorial de introdução a Git\"\n \n-#: command-list.h:217\n-msgid \"A tutorial introduction to Git: part two\"\n-msgstr \"Um tutorial de introdução a Git: parte dois\"\n-\n #: command-list.h:218\n msgid \"Git web interface (web frontend to Git repositories)\"\n msgstr \"Interface web de Git (frontend web para repositórios Git)\"\ndiff --git a/po/ru.po b/po/ru.po\nindex e8845ca2c0..6cad41bc00 100644\n--- a/po/ru.po\n+++ b/po/ru.po\n@@ -13866,9 +13866,6 @@ msgstr \"\"\n msgid \"A tutorial introduction to Git\"\n msgstr \"Обучающее введение в Git\"\n \n-msgid \"A tutorial introduction to Git: part two\"\n-msgstr \"Обучающее введение в Git: часть вторая\"\n-\n msgid \"Git web interface (web frontend to Git repositories)\"\n msgstr \"Веб интерфейс Git (веб-интерфейс для Git репозиториев)\"\n \ndiff --git a/po/sv.po b/po/sv.po\nindex 3856426319..df6508317e 100644\n--- a/po/sv.po\n+++ b/po/sv.po\n@@ -16194,9 +16194,6 @@ msgstr \"Monterar ett arkiv inuti ett annat\"\n msgid \"A tutorial introduction to Git\"\n msgstr \"Introduktion till Git\"\n \n-msgid \"A tutorial introduction to Git: part two\"\n-msgstr \"Introduktion till Git: del två\"\n-\n msgid \"Git web interface (web frontend to Git repositories)\"\n msgstr \"Git-webbgränssnitt (webbframända för Git-arkiv)\"\n \ndiff --git a/po/tr.po b/po/tr.po\nindex 5e992e1a04..79ca735d17 100644\n--- a/po/tr.po\n+++ b/po/tr.po\n@@ -16319,9 +16319,6 @@ msgstr \"Bir depoyu bir başkasının içine bağlama\"\n msgid \"A tutorial introduction to Git\"\n msgstr \"Git'e giriş için bir öğretici\"\n \n-msgid \"A tutorial introduction to Git: part two\"\n-msgstr \"Git'e giriş için bir öğretici: Bölüm 2\"\n-\n msgid \"Git web interface (web frontend to Git repositories)\"\n msgstr \"Git web arabirimi (Git depoları için web ön ucu)\"\n \ndiff --git a/po/uk.po b/po/uk.po\nindex 7d0451933c..824d6b0137 100644\n--- a/po/uk.po\n+++ b/po/uk.po\n@@ -16509,9 +16509,6 @@ msgstr \"Монтування одного сховища всередині ін\n msgid \"A tutorial introduction to Git\"\n msgstr \"Навчальний вступ до Git\"\n \n-msgid \"A tutorial introduction to Git: part two\"\n-msgstr \"Навчальний вступ до Git: частина друга\"\n-\n msgid \"Git web interface (web frontend to Git repositories)\"\n msgstr \"Веб-інтерфейс Git (веб-фронтенд до сховищ Git)\"\n \ndiff --git a/po/vi.po b/po/vi.po\nindex f91a7de810..b7c353352b 100644\n--- a/po/vi.po\n+++ b/po/vi.po\n@@ -15606,9 +15606,6 @@ msgstr \"Gắn một kho chứa vào trong một cái khác\"\n msgid \"A tutorial introduction to Git\"\n msgstr \"Hướng dẫn cách dùng Git\"\n \n-msgid \"A tutorial introduction to Git: part two\"\n-msgstr \"Hướng dẫn cách dùng Git: phần hai\"\n-\n msgid \"Git web interface (web frontend to Git repositories)\"\n msgstr \"Giao diện Git trên nền web (ứng dụng web chạy trên kho Git)\"\n \ndiff --git a/po/zh_CN.po b/po/zh_CN.po\nindex 9baf2bf7a6..40e7359b8a 100644\n--- a/po/zh_CN.po\n+++ b/po/zh_CN.po\n@@ -20237,10 +20237,6 @@ msgstr \"将一个仓库挂载到另一个仓库中\"\n msgid \"A tutorial introduction to Git\"\n msgstr \"Git 入门教程\"\n \n-#: command-list.h\n-msgid \"A tutorial introduction to Git: part two\"\n-msgstr \"Git 入门教程：第二部分\"\n-\n #: command-list.h\n msgid \"Git web interface (web frontend to Git repositories)\"\n msgstr \"Git Web 界面（Git 仓库的 Web 前端）\"\ndiff --git a/po/zh_TW.po b/po/zh_TW.po\nindex 87a8faca93..18e079ef1f 100644\n--- a/po/zh_TW.po\n+++ b/po/zh_TW.po\n@@ -20095,10 +20095,6 @@ msgstr \"在某個版本庫掛載某個版本庫\"\n msgid \"A tutorial introduction to Git\"\n msgstr \"一個 Git 教學\"\n \n-#: command-list.h\n-msgid \"A tutorial introduction to Git: part two\"\n-msgstr \"一個 Git 教學：第二部分\"\n-\n #: command-list.h\n msgid \"Git web interface (web frontend to Git repositories)\"\n msgstr \"Git web 介面（Git 版本庫的 web 前端）\"\n-- \ngitgitgadget\n"},{"id":"553559","messageId":"xmqq5wzojy31.fsf@gitster.g","threadId":"66411","inReplyTo":"pull.2241.git.1790627122.gitgitgadget@gmail.com","subject":"Re: [PATCH 0/3] [doc] Remove gittutorial-2","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2026-09-29T07:50:10Z","receivedAt":"2026-09-29T07:50:13Z","isPatch":true,"body":"\"Julia Evans via GitGitGadget\" <gitgitgadget@gmail.com> writes:\n\n> This patch series removes gittutorial-2 and all references to it, leaving a\n> stub behind to help out any users who might be looking for this\n> documentation.\n\nIs this the \"two series\" approach you mentioned earlier?\n\nThere is no need to ensure that the new document that replaces the\nold one covers everything the old one did.  After all, giving us a\nclean slate and letting us choose what to cover (and, more\nimportantly, what not to cover) with fresh eyes to match the needs\nof today's world is the whole point of redoing the tutorial\ndocument.\n\nSo I personally feel it is OK to remove the old one, without\npromising or even hinting at what in the new one that replaces it.\nBut we would want to see its replacement in the not-so-distant\nfuture.\n\nAlso, we may want to decide what to do with gittutorial.  It is\nshort and reasonably sweet.  One old-fashioned thing that does not\nexactly match today's prevalent usage patterns may be that it starts\ntracking a new project from a tarball, but other than that, it may\nnot hurt to keep it around.  I do not know.\n"},{"id":"553579","messageId":"8a5b742a-3f11-4bfa-954b-ffdd839b6d43@app.fastmail.com","threadId":"66411","inReplyTo":"xmqq5wzojy31.fsf@gitster.g","subject":"Re: [PATCH 0/3] [doc] Remove gittutorial-2","fromName":"Julia Evans","fromEmail":"julia@jvns.ca","sentAt":"2026-09-29T10:42:40Z","receivedAt":"2026-09-29T10:43:08Z","isPatch":true,"body":"> Is this the \"two series\" approach you mentioned earlier?\n\nThe idea is that:\n\n1. we delete gittutorial-2 (this series)\n2. we delete gittutorial\n3. we add a new gittutorial\n\nWe could also combine #2 and #3 into a single series.\nI don't feel strongly about that and it might (as you mention below)\nbe better to wait to delete gittutorial until we have a replacement\nready to go.\n\n> There is no need to ensure that the new document that replaces the\n> old one covers everything the old one did.  After all, giving us a\n> clean slate and letting us choose what to cover (and, more\n> importantly, what not to cover) with fresh eyes to match the needs\n> of today's world is the whole point of redoing the tutorial\n> document.\n>\n> So I personally feel it is OK to remove the old one, without\n> promising or even hinting at what in the new one that replaces it.\n> But we would want to see its replacement in the not-so-distant\n> future.\n\nI'm not planning to replace gittutorial-2 since the material in it\nis already covered by gitdatamodel and gitcore-tutorial.\nLet me know if you disagree!\n\n> Also, we may want to decide what to do with gittutorial.  It is\n> short and reasonably sweet.  One old-fashioned thing that does not\n> exactly match today's prevalent usage patterns may be that it starts\n> tracking a new project from a tarball, but other than that, it may\n> not hurt to keep it around.  I do not know.\n\nWe definitely want a tutorial that covers `git init`, `git add`, `git commit`,\netc. Any replacement would definitely cover those topics, but \nI don't see the value of having 2 such tutorials.\nWhy do you think it would be valuable to keep it around? It seems\nlike it would cause a lot of confusion to me.\n"},{"id":"553581","messageId":"258b3e1f-3bd7-4e4f-be42-06a9d52dbb91@app.fastmail.com","threadId":"66411","inReplyTo":"8a5b742a-3f11-4bfa-954b-ffdd839b6d43@app.fastmail.com","subject":"Re: [PATCH 0/3] [doc] Remove gittutorial-2","fromName":"Julia Evans","fromEmail":"julia@jvns.ca","sentAt":"2026-09-29T11:09:08Z","receivedAt":"2026-09-29T11:09:51Z","isPatch":true,"body":"> I'm not planning to replace gittutorial-2 since the material in it\n> is already covered by gitdatamodel and gitcore-tutorial.\n> Let me know if you disagree!\n\nI realized it might be useful to summarize the content of\ngittutorial-2 to give some context for this. It introduces these\ncommands and files as a way to learn Git's object model:\n\n\tgit cat-file\n        git ls-tree\n\tgit ls-files --stage\n\t.git/objects\n\t.git/refs/head/*\n\t.git/HEAD\n\ngitdatamodel explains the Git object model in a different way,\nand gitcore-tutorial introduces these same commands in\nmore detail.\n"},{"id":"553650","messageId":"xmqqcxtven3u.fsf@gitster.g","threadId":"66411","inReplyTo":"pull.2241.git.1790627122.gitgitgadget@gmail.com","subject":"Re: [PATCH 0/3] [doc] Remove gittutorial-2","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2026-09-29T21:58:29Z","receivedAt":"2026-09-29T21:58:32Z","isPatch":true,"body":"\"Julia Evans via GitGitGadget\" <gitgitgadget@gmail.com> writes:\n\n>  Documentation/MyFirstObjectWalk.adoc |   2 +-\n>  Documentation/git.adoc               |   2 +-\n>  Documentation/gitcore-tutorial.adoc  |   1 -\n>  Documentation/gitcvs-migration.adoc  |   2 +-\n>  Documentation/gitglossary.adoc       |   1 -\n>  Documentation/gittutorial-2.adoc     | 422 +--------------------------\n>  Documentation/gittutorial.adoc       |  23 +-\n>  command-list.txt                     |   1 -\n>  po/bg.po                             |   3 -\n>  po/ca.po                             |   4 -\n>  po/de.po                             |   3 -\n>  po/el.po                             |   4 -\n>  po/es.po                             |   3 -\n>  po/fr.po                             |   3 -\n>  po/ga.po                             |   3 -\n>  po/id.po                             |   3 -\n>  po/it.po                             |   4 -\n>  po/ko.po                             |   3 -\n>  po/pl.po                             |   3 -\n>  po/pt_PT.po                          |   4 -\n>  po/ru.po                             |   3 -\n>  po/sv.po                             |   3 -\n>  po/tr.po                             |   3 -\n>  po/uk.po                             |   3 -\n>  po/vi.po                             |   3 -\n>  po/zh_CN.po                          |   4 -\n>  po/zh_TW.po                          |   4 -\n>  27 files changed, 14 insertions(+), 503 deletions(-)\n\nOne thing I forgot to mention.\n\nI think we try to stay out of the po/ directory unless the patch is\nabout updating translated text to catch up with translatable text\nthat was updated by code or doc changes.  IOW, unless you are\nworking on the patch set as a member of the l10n team, you do not\ntouch these files.  This is to avoid unnecessary churn and\nburdening the l10n teams with synchronization pain.\n\nThe above is my understanding of the workflow agreed on by people\ninside and outside the l10n group, but I'd like to double-check\nwith the i18n coordinator (Cc'ed).  If I understand correctly, the\nrecent workflow used by the l10n teams gives more autonomy to\nindividual teams than before, which may have changed the equation.\n\nThe removals we see in the diffstat touch lines in the early part\nthat appears in the manual page, namely ...\n\n    gittutorial-2(7)\n    ================\n\n    NAME\n    ----\n    gittutorial-2 - A tutorial introduction to Git: part two\n\n    SYNOPSIS\n\nthe string used for \"NAME\", and one of them looks like this:\n\n        diff --git c/po/es.po w/po/es.po\n        index aa1bb9bf90..dcdcbf5360 100644\n        --- c/po/es.po\n        +++ w/po/es.po\n        @@ -14046,9 +14046,6 @@ msgstr \"Montar un repositorio dentro de otro\"\n         msgid \"A tutorial introduction to Git\"\n         msgstr \"Un tutorial de introducción a Git\"\n        -msgid \"A tutorial introduction to Git: part two\"\n        -msgstr \"Un tutorial de introducción a Git: parte dos\"\n        -\n         msgid \"Git web interface (web frontend to Git repositories)\"\n         msgstr \"Interfaz web Git (interfaz web para repositorios Git)\"\n\nI'd say a patch set like this one, which is not about updating the\nlocalization, should just leave po/ intact, since the removal does\nnot help without a corresponding addition from the same \"NAME\" in the\nfile that replaces this \"gittutorial-2\", which reads like\n\n    gittutorial-2(7)\n    ================\n\n    NAME\n    ----\n    gittutorial-2 - Obsolete tutorial\n\n    SYNOPSIS\n\nand as the patch set stands, we are leaving it to the l10n teams\nanyway to add \"Obsolete tutorial\" to the set of translatable\nstrings.\n\nJiang Xin (i18n/l10n coordinator), what do you and the l10n teams\nwant to see in a patch like this one?\n\nThanks.\n"},{"id":"553652","messageId":"xmqq8q4jelvp.fsf@gitster.g","threadId":"66411","inReplyTo":"xmqqcxtven3u.fsf@gitster.g","subject":"Re: [PATCH 0/3] [doc] Remove gittutorial-2","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2026-09-29T22:24:58Z","receivedAt":"2026-09-29T22:25:01Z","isPatch":true,"body":"Junio C Hamano <gitster@pobox.com> writes:\n\n> \"Julia Evans via GitGitGadget\" <gitgitgadget@gmail.com> writes:\n>\n>>  Documentation/MyFirstObjectWalk.adoc |   2 +-\n>>  Documentation/git.adoc               |   2 +-\n>>  Documentation/gitcore-tutorial.adoc  |   1 -\n>>  Documentation/gitcvs-migration.adoc  |   2 +-\n>>  Documentation/gitglossary.adoc       |   1 -\n>>  Documentation/gittutorial-2.adoc     | 422 +--------------------------\n>>  Documentation/gittutorial.adoc       |  23 +-\n>>  command-list.txt                     |   1 -\n>>  po/bg.po                             |   3 -\n>>  po/ca.po                             |   4 -\n>>  po/de.po                             |   3 -\n>>  po/el.po                             |   4 -\n>>  po/es.po                             |   3 -\n>>  po/fr.po                             |   3 -\n>>  po/ga.po                             |   3 -\n>>  po/id.po                             |   3 -\n>>  po/it.po                             |   4 -\n>>  po/ko.po                             |   3 -\n>>  po/pl.po                             |   3 -\n>>  po/pt_PT.po                          |   4 -\n>>  po/ru.po                             |   3 -\n>>  po/sv.po                             |   3 -\n>>  po/tr.po                             |   3 -\n>>  po/uk.po                             |   3 -\n>>  po/vi.po                             |   3 -\n>>  po/zh_CN.po                          |   4 -\n>>  po/zh_TW.po                          |   4 -\n>>  27 files changed, 14 insertions(+), 503 deletions(-)\n>\n> One thing I forgot to mention.\n\nSorry, but there was another.  With this merged, doc-lint seems to\nfail and breaks 'seen'.\n\n            ...\n            LINT DOCSTYLE includes/cmd-config-section-all.adoc\n        no link: gittutorial-2\n        gmake[1]: *** [Makefile:537: lint-docs-manpages] Error 1\n        gmake[1]: Leaving directory '/home/gitster/w/buildfarm/seen/Documentation'\n        gmake: *** [Makefile:4003: check-docs] Error 2\n\n"},{"id":"553669","messageId":"20260930060038.mY0JV%taahol@utu.fi","threadId":"66411","inReplyTo":"pull.2241.git.1790627122.gitgitgadget@gmail.com","subject":"Re: [PATCH 0/3] [doc] Remove gittutorial-2","fromName":"Tuomas Ahola","fromEmail":"taahol@utu.fi","sentAt":"2026-09-30T06:00:38Z","receivedAt":"2026-09-30T06:00:54Z","isPatch":true,"body":"\"Julia Evans via GitGitGadget\" <gitgitgadget@gmail.com> wrote:\n\n> This patch series removes gittutorial-2 and all references to it, leaving a\n> stub behind to help out any users who might be looking for this\n> documentation.\n> \n> The goal is to remove obsolete documentation and make it easier to improve\n> our tutorial material in the future.\n> \n\nThanks, that sounds great.\n\n> I tested that the docs are staying internally consistent by running git grep\n> tutorial-2 and making sure that the only remaining references are in the\n> Makefiles, the document itself, and some example output in user-manual.adoc\n> which isn't relevant to the actual manual.\n> \n> Here's a pointer to a past discussion:\n> \n> https://lore.kernel.org/git/7004c3b1-2100-4a90-9815-2a679ceb25b2@app.fastmail.com/T/#mf600063180d6239916e3fa6e9d33da86969547ec\n> \n> Julia Evans (3):\n>   [doc] Remove gittutorial-2\n>   [doc] Remove references to gittutorial-2\n>   [doc] Delete translations of gittutorial-2 description\n\nHmm, the normal format would be more like this:\n\n\tdoc: remove gittutorial-2\n\nPlease note that the words in square brackets are dropped by git-am(1).  For\nexample, another patch series of yours is currently represented like this:\n\n\t$ git fetch https://github.com/gitster/git je/doc-merge-conflicts:je/doc-merge-conflicts \n\t$ git shortlog origin/seen..je/doc-merge-conflicts \n\tJulia Evans (7):\n\t      Add new gitmergeconflicts man page\n\t      git-merge: link to new merge conflicts guide\n\t      git-rebase: link to new merge conflicts guide\n\t      git-revert: link to new merge conflicts guide\n\t      git-cherry-pick: link to new merge conflicts guide\n\t      git-pull: link to new merge conflicts guide\n\t      ignore conflict markers in gitmergeconflicts.adoc\n\n(And the fact that these are documentation patches is indeed something we would\nlike to preserve in the shortlog.)\n\n--Tuomas\n"},{"id":"553673","messageId":"20260930061524.GNkIK%taahol@utu.fi","threadId":"66411","inReplyTo":"xmqq8q4jelvp.fsf@gitster.g","subject":"Re: [PATCH 0/3] [doc] Remove gittutorial-2","fromName":"Tuomas Ahola","fromEmail":"taahol@utu.fi","sentAt":"2026-09-30T06:15:24Z","receivedAt":"2026-09-30T06:15:33Z","isPatch":true,"body":"Junio C Hamano <gitster@pobox.com> wrote:\n\n> Junio C Hamano <gitster@pobox.com> writes:\n> \n> >\n> > One thing I forgot to mention.\n> \n> Sorry, but there was another.  With this merged, doc-lint seems to\n> fail and breaks 'seen'.\n> \n>             ...\n>             LINT DOCSTYLE includes/cmd-config-section-all.adoc\n>         no link: gittutorial-2\n>         gmake[1]: *** [Makefile:537: lint-docs-manpages] Error 1\n>         gmake[1]: Leaving directory '/home/gitster/w/buildfarm/seen/Documentation'\n>         gmake: *** [Makefile:4003: check-docs] Error 2\n> \n\nIf we want to build gittutorial-2(7) as a manpage stub but to hide it in `git\nhelp --guides`, we can squelch that linter error with a merge-fix:\n\ndiff --git a/Documentation/lint-manpages.sh b/Documentation/lint-manpages.sh\nindex d4a1977ba6..db2a54116d 100755\n--- a/Documentation/lint-manpages.sh\n+++ b/Documentation/lint-manpages.sh\n@@ -32,6 +32,7 @@ check_missing_docs () (\n \t\tgit-legacy-*) continue;;\n \t\tgit-?*--?* ) continue ;;\n \t\tgitweb.conf) continue ;;\n+\t\tgittutorial-2) continue ;;\n \t\tesac\n \n \t\tif ! test -f \"$v.adoc\"\n"},{"id":"553675","messageId":"xmqqzewzch55.fsf@gitster.g","threadId":"66411","inReplyTo":"8a5b742a-3f11-4bfa-954b-ffdd839b6d43@app.fastmail.com","subject":"Re: [PATCH 0/3] [doc] Remove gittutorial-2","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2026-09-30T07:50:14Z","receivedAt":"2026-09-30T07:50:18Z","isPatch":true,"body":"\"Julia Evans\" <julia@jvns.ca> writes:\n\n>> So I personally feel it is OK to remove the old one, without\n>> promising or even hinting at what in the new one that replaces it.\n>> But we would want to see its replacement in the not-so-distant\n>> future.\n>\n> I'm not planning to replace gittutorial-2 since the material in it\n> is already covered by gitdatamodel and gitcore-tutorial.\n\nOK.  I didn't sense that from the proposed log messages for these\npatches.  Sorry for my misunderstanding.\n\n>> Also, we may want to decide what to do with gittutorial.  It is\n>> short and reasonably sweet.  One old-fashioned thing that does not\n>> exactly match today's prevalent usage patterns may be that it starts\n>> tracking a new project from a tarball, but other than that, it may\n>> not hurt to keep it around.  I do not know.\n>\n> We definitely want a tutorial that covers `git init`, `git add`, `git commit`,\n> etc. Any replacement would definitely cover those topics, but \n> I don't see the value of having 2 such tutorials.\n\n> Why do you think it would be valuable to keep it around? It seems\n> like it would cause a lot of confusion to me.\n\nYou confuse me.\n\nWhat do you mean by \"it\" in \"keep it around\"?  gittutorial.adoc?\n\nIf so you said it yourself, that we want to have a tutorial that\ncovers the basics like `git init` etc.\n\nOr do you mean some other document, like gittutorial-2?  It would\nhave made sense to keep it while a replacement was being written, to\nmake comparison easier, *if* the goal were to make sure that the new\none covers everything the existing one covered, but we already\nagreed that it is not the goal to salvage what is in gittutorial-2\n(and that is why I personally feel it is OK to remove the old one\nfirst).\n\nPuzzled.\n\n\n\n\n\n"},{"id":"553694","messageId":"7ca55e6c-d12c-4105-b647-d76ed49d93ac@app.fastmail.com","threadId":"66411","inReplyTo":"xmqq8q4jelvp.fsf@gitster.g","subject":"Re: [PATCH 0/3] [doc] Remove gittutorial-2","fromName":"Julia Evans","fromEmail":"julia@jvns.ca","sentAt":"2026-09-30T13:16:32Z","receivedAt":"2026-09-30T13:16:59Z","isPatch":true,"body":"\n> Sorry, but there was another.  With this merged, doc-lint seems to\n> fail and breaks 'seen'.\n>\n>             ...\n>             LINT DOCSTYLE includes/cmd-config-section-all.adoc\n>         no link: gittutorial-2\n>         gmake[1]: *** [Makefile:537: lint-docs-manpages] Error 1\n>         gmake[1]: Leaving directory \n> '/home/gitster/w/buildfarm/seen/Documentation'\n>         gmake: *** [Makefile:4003: check-docs] Error 2\n\nWeird, when I run `make lint-docs` on my branch it succeeds\n(before merging it into `seen`). But I agree with you that\nit fails when merged into `seen`. I'll try to figure out why.\n"},{"id":"553699","messageId":"fea59b5f-11e9-4f86-b04e-346a3fe0a757@app.fastmail.com","threadId":"66411","inReplyTo":"20260930060038.mY0JV%taahol@utu.fi","subject":"Re: [PATCH 0/3] [doc] Remove gittutorial-2","fromName":"Julia Evans","fromEmail":"julia@jvns.ca","sentAt":"2026-09-30T14:01:16Z","receivedAt":"2026-09-30T14:01:41Z","isPatch":true,"body":"\n> Hmm, the normal format would be more like this:\n>\n> \tdoc: remove gittutorial-2\n>\n> Please note that the words in square brackets are dropped by git-am(1).  For\n> example, another patch series of yours is currently represented like this:\n\nThanks, will fix. For some reason I thought the format I used when\nI was working on this last year was `[doc]` but I was remembering wrong and\nit was `doc: `, like you say.\n"},{"id":"553700","messageId":"7ef2e8a1-2890-4b45-8da1-2f9a04cf792d@app.fastmail.com","threadId":"66411","inReplyTo":"7ca55e6c-d12c-4105-b647-d76ed49d93ac@app.fastmail.com","subject":"Re: [PATCH 0/3] [doc] Remove gittutorial-2","fromName":"Kristoffer Haugsbakk","fromEmail":"kristofferhaugsbakk@fastmail.com","sentAt":"2026-09-30T14:07:03Z","receivedAt":"2026-09-30T14:07:50Z","isPatch":true,"body":"On Wed, Sep 30, 2026, at 15:16, Julia Evans wrote:\n>> Sorry, but there was another.  With this merged, doc-lint seems to\n>> fail and breaks 'seen'.\n>>\n>>             ...\n>>             LINT DOCSTYLE includes/cmd-config-section-all.adoc\n>>         no link: gittutorial-2\n>>         gmake[1]: *** [Makefile:537: lint-docs-manpages] Error 1\n>>         gmake[1]: Leaving directory\n>> '/home/gitster/w/buildfarm/seen/Documentation'\n>>         gmake: *** [Makefile:4003: check-docs] Error 2\n>\n> Weird, when I run `make lint-docs` on my branch it succeeds\n> (before merging it into `seen`). But I agree with you that\n> it fails when merged into `seen`. I'll try to figure out why.\n\nIt looks like it’s because 4ce144a1 (lint-docs: check the guide list in \ncommand-list.txt, 2026-09-10) introduced `MAN_GUIDES`.\n\n    diff --git Documentation/lint-manpages.sh Documentation/lint-manpages.sh\n    index a0ea572382d..d4a1977ba6b 100755\n    --- Documentation/lint-manpages.sh\n    +++ Documentation/lint-manpages.sh\n    @@ -1,21 +1,23 @@\n    [...]\n     check_missing_docs () (\n            ret=0\n\n    -\tfor v in $ALL_COMMANDS\n    +\tfor v in $ALL_COMMANDS $MAN_GUIDES\n            do\n"},{"id":"553706","messageId":"xmqqtsn6ddk7.fsf@gitster.g","threadId":"66411","inReplyTo":"20260930061524.GNkIK%taahol@utu.fi","subject":"Re: [PATCH 0/3] [doc] Remove gittutorial-2","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2026-09-30T14:22:16Z","receivedAt":"2026-09-30T14:22:23Z","isPatch":true,"body":"Tuomas Ahola <taahol@utu.fi> writes:\n\n>> Sorry, but there was another.  With this merged, doc-lint seems to\n>> fail and breaks 'seen'.\n>> \n>>             ...\n>>             LINT DOCSTYLE includes/cmd-config-section-all.adoc\n>>         no link: gittutorial-2\n>>         gmake[1]: *** [Makefile:537: lint-docs-manpages] Error 1\n>>         gmake[1]: Leaving directory '/home/gitster/w/buildfarm/seen/Documentation'\n>>         gmake: *** [Makefile:4003: check-docs] Error 2\n>> \n>\n> If we want to build gittutorial-2(7) as a manpage stub but to hide it in `git\n> help --guides`, we can squelch that linter error with a merge-fix:\n>\n> diff --git a/Documentation/lint-manpages.sh b/Documentation/lint-manpages.sh\n> index d4a1977ba6..db2a54116d 100755\n> --- a/Documentation/lint-manpages.sh\n> +++ b/Documentation/lint-manpages.sh\n> @@ -32,6 +32,7 @@ check_missing_docs () (\n>  \t\tgit-legacy-*) continue;;\n>  \t\tgit-?*--?* ) continue ;;\n>  \t\tgitweb.conf) continue ;;\n> +\t\tgittutorial-2) continue ;;\n>  \t\tesac\n>  \n>  \t\tif ! test -f \"$v.adoc\"\n\nGreat.  Will use that in future integration runs.\n\nHow close is your topic to 'next', by the way?  I think we have\nalready caught a few missing links since it was queued in 'seen',\nand that should be enough to prove its worth.  Even so, that is\nmerely \"we saw cases where it was useful\" and neither \"we know it\nwill not fire when it should not\" and nor \"we know it will always\nfire when it should\" (which is why we want to see a solid review).\n\nWhat I am wondering is if Julia's topic should be built on top of\nthe ta/command-list-guides-sync-lint topic.  Perhaps it is a bad\nidea and coping with merge-fix would be more flexible.\n\nThanks.\n\n\n"},{"id":"553875","messageId":"040938c6-6fc9-4727-901a-9be2b0b3a6cf@app.fastmail.com","threadId":"66411","inReplyTo":"xmqqzewzch55.fsf@gitster.g","subject":"Re: [PATCH 0/3] [doc] Remove gittutorial-2","fromName":"Julia Evans","fromEmail":"julia@jvns.ca","sentAt":"2026-10-01T22:21:30Z","receivedAt":"2026-10-01T22:21:51Z","isPatch":true,"body":"\n> You confuse me.\n>\n> What do you mean by \"it\" in \"keep it around\"?  gittutorial.adoc?\n>\n> If so you said it yourself, that we want to have a tutorial that\n> covers the basics like `git init` etc.\n>\n> Or do you mean some other document, like gittutorial-2?  It would\n> have made sense to keep it while a replacement was being written, to\n> make comparison easier, *if* the goal were to make sure that the new\n> one covers everything the existing one covered, but we already\n> agreed that it is not the goal to salvage what is in gittutorial-2\n> (and that is why I personally feel it is OK to remove the old one\n> first).\n\nHere's another attempt to explain! I think this whole sub-discussion\nis not very relevant to `gittutorial-2` (the subject of this patch series) \nwhich should be deleted in any case. I would move this out to talk\nabout it separately but the mailing list is still tough for me to navigate.\n\nEverything after this point is about `gittutorial.adoc` and about how\nto manage the process of improving it.\n\nHere are some facts, some of my opinions, and some options I see.\nApologies for the length :)\n\nFacts:\n\n1. The current `gittutorial` covers git init, git add, git commit, git diff, git\n   log, git branch, git switch, git merge, git clone, git fetch, git pull, gitk,\n   git remote add, git show, git reset --hard, git tag, git show, and git status,\n   (and potentially more commands I missed)\n2. My current `gittutorial` draft covers fewer topics: just\n   git init, git add, git commit, git diff, git status git remote add, git push.\n   Basically just how to make commits and push them to a remote.\n   These tools on their own are enough for a user to back up their code or use Git to\n   publish a website (for instance with Github Pages or Heroku RIP)\n3. 22 people who are new to Git have tested the new draft so far\n3.1. Several of the testers said in the post-tutorial survey that they wanted more\n   information on branching and collaboration with Git. This was the most common\n   \"what do you wish this tutorial covered?\" request.\n3.2. Several of the testers also said that the new version is a lot of\n   material, and they were not able to finish it because they didn't have time\n4. Writing tutorial material is a lot of work, it will take time to do a good\n   job of covering branching and collaboration\n\nOpinions:\n\nIt's important for us to cover branching, collaboration, and how to restore\nold work in our tutorial material. There are other topics too but these are the\nmost important.\n\nIt’s not realistic to expect new Git users to be able to learn what they need to\nknow about branching and collaboration from the “MANAGING BRANCHES” and “USING\nGIT FOR COLLABORATION” sections of `gittutorial`. Two of the many issues are\nthat it starts talking about branches without explaining what they are, and it\nteaches collaboration in the context of a multi-user system which is not how the\nvast majority of users would collaborate. As far as I can tell it never explains\nwhat a branch is in any way. My impression is that we all already agree that\nthis tutorial is not doing the job it needs to do in any case.\n\nIt's also probably unrealistic to merge a guide to branching at the same time as\nthe intro to `git commit` just because it's already so much work just to cover\nthe first parts effectively.\n\nAll of this together means we’re not in an ideal situation.\n\nOptions I see for dealing with this:\n\noption 1: Refer folks to the contents of the current `gittutorial` (in some new\nlocation?) to learn branching and collaboration. I think this is what you are\nsuggesting (?). I am not willing to do this because (as mentioned) the current\ngittutorial is not a good way to learn those topics.\n\noption 2: Ship the new tutorial without a guide to branching and collaboration,\nwith that to come later. Not ideal, but I think this is better than option 1,\nsince at least we are not pointing users to a tutorial that we know will not\nhelp them.\n\noption 3: Recommend some kind of external guide for now. We talked about this\nbefore and I agree there are issues with maintainability etc.\n\noption 4: Wait until we have a new tutorial on branching to merge any new\ntutorial. This will take a very long time and it’ll be a lot more to review at\none time.\n\nRight now option 2 is my preferred one of the options (which all have different\ndrawbacks)\n\nbest,\nJulia\n"},{"id":"553905","messageId":"xmqqfqyo363i.fsf@gitster.g","threadId":"66411","inReplyTo":"040938c6-6fc9-4727-901a-9be2b0b3a6cf@app.fastmail.com","subject":"Re: [PATCH 0/3] [doc] Remove gittutorial-2","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2026-10-02T07:38:09Z","receivedAt":"2026-10-02T07:38:11Z","isPatch":true,"body":"\"Julia Evans\" <julia@jvns.ca> writes:\n\n> 3. 22 people who are new to Git have tested the new draft so far\n> 3.1. Several of the testers said in the post-tutorial survey that they wanted more\n>    information on branching and collaboration with Git. This was the most common\n>    \"what do you wish this tutorial covered?\" request.\n> 3.2. Several of the testers also said that the new version is a lot of\n>    material, and they were not able to finish it because they didn't have time\n> 4. Writing tutorial material is a lot of work, it will take time to do a good\n>    job of covering branching and collaboration\n\nGood info to share more widely around here.\n\n> It's important for us to cover branching, collaboration, and how to restore\n> old work in our tutorial material.\n\nOK.\n\n> option 1: Refer folks to the contents of the current `gittutorial` (in some new\n> location?) to learn branching and collaboration. I think this is what you are\n> suggesting (?).\n\nNot at all.  If the material in the existing document is inadequate,\nafter examining why it is inadequate (e.g., perhaps it assumes\ncertain prerequisite knowledge or work experience that today's new\nusers are unlikely to have), we decide if we can salvage it or we\nneed to write from scratch.  It is very likely that it is the latter\ncase---otherwise we wouldn't be having this conversation to begin\nwith.\n\n> option 2: Ship the new tutorial without a guide to branching and collaboration,\n> with that to come later. Not ideal, but I think this is better than option 1,\n> since at least we are not pointing users to a tutorial that we know will not\n> help them.\n\nI think this, #1, and #3 are essentially different sides of the the\nsame coin.  If gittutorial can fill the gap, we use it as a stop-gap\nmeasure while we prepare a better one.  If it is so bad that it\nwould contaminate new users' minds, and they are better off learning\nthe hard way from more technical documentation and external books\ninstead of tutorial, we won't give them any stop-gap.  We may or may\nnot have external material we can recommend.\n"},{"id":"554218","messageId":"pull.2241.v2.git.1791231610.gitgitgadget@gmail.com","threadId":"66411","inReplyTo":"pull.2241.git.1790627122.gitgitgadget@gmail.com","subject":"[PATCH v2 0/2] [doc] Remove gittutorial-2","fromName":"Julia Evans via GitGitGadget","fromEmail":"gitgitgadget@gmail.com","sentAt":"2026-10-05T20:20:08Z","receivedAt":"2026-10-05T20:20:08Z","isPatch":true,"body":"This patch series removes gittutorial-2 and all references to it, leaving a\nstub behind to help out any users who might be looking for this\ndocumentation.\n\nThe goal is to remove obsolete documentation and make it easier to improve\nour tutorial material in the future.\n\nI tested that the docs are staying internally consistent by running git grep\ntutorial-2 and making sure that the only remaining references are in the\nMakefiles, the document itself, and some example output in user-manual.adoc\nwhich isn't relevant to the actual manual.\n\nChanges in v2:\n\n * Remove changes to .po files (thanks to Junio)\n * Reword commit messages to doc: ... (thanks to Tuomas)\n\nTo deal with the conflict with 4ce144a1 (which requires that all guides be\nlisted in command-list.txt) I think we need to add another exception to\nlint-manpages.sh (like Tuomas said).\n\nJulia Evans (2):\n  doc: remove gittutorial-2\n  doc: remove references to gittutorial-2\n\n Documentation/MyFirstObjectWalk.adoc |   2 +-\n Documentation/git.adoc               |   2 +-\n Documentation/gitcore-tutorial.adoc  |   1 -\n Documentation/gitcvs-migration.adoc  |   2 +-\n Documentation/gitglossary.adoc       |   1 -\n Documentation/gittutorial-2.adoc     | 422 +--------------------------\n Documentation/gittutorial.adoc       |  23 +-\n 7 files changed, 14 insertions(+), 439 deletions(-)\n\n\nbase-commit: 0f8e75abebff0877cae681a3d5ff31ac47f54220\nPublished-As: https://github.com/gitgitgadget/git/releases/tag/pr-2241%2Fjvns%2Fdelete-tutorial2-v2\nFetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-2241/jvns/delete-tutorial2-v2\nPull-Request: https://github.com/gitgitgadget/git/pull/2241\n\nRange-diff vs v1:\n\n 1:  54404cd8df ! 1:  5fd36f91f0 [doc] Remove gittutorial-2\n     @@ Metadata\n      Author: Julia Evans <julia@jvns.ca>\n      \n       ## Commit message ##\n     -    [doc] Remove gittutorial-2\n     +    doc: remove gittutorial-2\n      \n          It hasn't been substantially updated for 20 years\n          (see `git diff e31952da5c52a4c1:Documentation/tutorial-2.txt\n 2:  a76819e3af ! 2:  68867aa3fc [doc] Remove references to gittutorial-2\n     @@ Metadata\n      Author: Julia Evans <julia@jvns.ca>\n      \n       ## Commit message ##\n     -    [doc] Remove references to gittutorial-2\n     +    doc: remove references to gittutorial-2\n      \n          Redirect folks to `gitdatamodel` instead, since every time it's\n          referenced the intent is to explain objects, references, blobs, etc.\n 3:  017ca1346d < -:  ---------- [doc] Delete translations of gittutorial-2 description\n\n-- \ngitgitgadget\n\n"},{"id":"554219","messageId":"5fd36f91f086bbff929b267c6d74ebc822951da3.1791231610.git.gitgitgadget@gmail.com","threadId":"66411","inReplyTo":"pull.2241.v2.git.1791231610.gitgitgadget@gmail.com","subject":"[PATCH v2 1/2] doc: remove gittutorial-2","fromName":"Julia Evans via GitGitGadget","fromEmail":"gitgitgadget@gmail.com","sentAt":"2026-10-05T20:20:09Z","receivedAt":"2026-10-05T20:20:09Z","isPatch":true,"body":"From: Julia Evans <julia@jvns.ca>\n\nIt hasn't been substantially updated for 20 years\n(see `git diff e31952da5c52a4c1:Documentation/tutorial-2.txt\n               0f8e75abebff0877:Documentation/gittutorial-2.adoc`)\nand it's becoming out of date, for example:\n\n- refs do not necessarily live in `.git/refs`\n- we don't really call it \"the index file\" anymore, and we don't\n  encourage users to think about the individual files in `.git` as much\n  as we did 20 years ago\n\nMore importantly, this approach of introducing Git by learning about the\ncontents of `.git` does not work for most people learning Git for the\nfirst time. It's interesting information for some people (maybe more\nadvanced users or folks with a strong computer science background, for\nnot appropriate for a general tutorial).\n\nRight now `gittutorial-2` is meant to be a logical sequel to\n`gittutorial` (\"read gittutorial, then gittutorial-2\").\nDeleting `gittutorial-2` means that we can more easily rewrite the main\n`gittutorial` (which is also not effective) in any way we want, without\nhaving to make sure that `gittutorial-2` is the logical next step.\n\nWe have other documentation which can serve a similar purpose to\ntutorial-2 and isn't framed as a general tutorial appropriate for\neveryone.\n\nKeep building the man page for now and leave behind a stub to\nredirect folks to those other documents.\n\nSigned-off-by: Julia Evans <julia@jvns.ca>\n---\n Documentation/gittutorial-2.adoc | 422 +------------------------------\n 1 file changed, 6 insertions(+), 416 deletions(-)\n\ndiff --git a/Documentation/gittutorial-2.adoc b/Documentation/gittutorial-2.adoc\nindex 8bdb7d0bd3..6396e763c4 100644\n--- a/Documentation/gittutorial-2.adoc\n+++ b/Documentation/gittutorial-2.adoc\n@@ -3,7 +3,7 @@ gittutorial-2(7)\n \n NAME\n ----\n-gittutorial-2 - A tutorial introduction to Git: part two\n+gittutorial-2 - Obsolete tutorial\n \n SYNOPSIS\n --------\n@@ -13,423 +13,13 @@ git *\n DESCRIPTION\n -----------\n \n-You should work through linkgit:gittutorial[7] before reading this tutorial.\n+This tutorial has been deleted since it had become very stale.\n \n-The goal of this tutorial is to introduce two fundamental pieces of\n-Git's architecture--the object database and the index file--and to\n-provide the reader with everything necessary to understand the rest\n-of the Git documentation.\n+See linkgit:gitdatamodel[7] for an explanation of how Git's core data\n+structures work (objects, references and the index).\n \n-The Git object database\n------------------------\n-\n-Let's start a new project and create a small amount of history:\n-\n-------------------------------------------------\n-$ mkdir test-project\n-$ cd test-project\n-$ git init\n-Initialized empty Git repository in .git/\n-$ echo 'hello world' > file.txt\n-$ git add .\n-$ git commit -a -m \"initial commit\"\n-[master (root-commit) 54196cc] initial commit\n- 1 file changed, 1 insertion(+)\n- create mode 100644 file.txt\n-$ echo 'hello world!' >file.txt\n-$ git commit -a -m \"add emphasis\"\n-[master c4d59f3] add emphasis\n- 1 file changed, 1 insertion(+), 1 deletion(-)\n-------------------------------------------------\n-\n-What are the 7 digits of hex that Git responded to the commit with?\n-\n-We saw in part one of the tutorial that commits have names like this.\n-It turns out that every object in the Git history is stored under\n-a 40-digit hex name.  That name is the SHA-1 hash of the object's\n-contents; among other things, this ensures that Git will never store\n-the same data twice (since identical data is given an identical SHA-1\n-name), and that the contents of a Git object will never change (since\n-that would change the object's name as well). The 7 char hex strings\n-here are simply the abbreviation of such 40 character long strings.\n-Abbreviations can be used everywhere where the 40 character strings\n-can be used, so long as they are unambiguous.\n-\n-It is expected that the content of the commit object you created while\n-following the example above generates a different SHA-1 hash than\n-the one shown above because the commit object records the time when\n-it was created and the name of the person performing the commit.\n-\n-We can ask Git about this particular object with the `cat-file`\n-command. Don't copy the 40 hex digits from this example but use those\n-from your own version. Note that you can shorten it to only a few\n-characters to save yourself typing all 40 hex digits:\n-\n-------------------------------------------------\n-$ git cat-file -t 54196cc2\n-commit\n-$ git cat-file commit 54196cc2\n-tree 92b8b694ffb1675e5975148e1121810081dbdffe\n-author J. Bruce Fields <bfields@puzzle.fieldses.org> 1143414668 -0500\n-committer J. Bruce Fields <bfields@puzzle.fieldses.org> 1143414668 -0500\n-\n-initial commit\n-------------------------------------------------\n-\n-A tree can refer to one or more \"blob\" objects, each corresponding to\n-a file.  In addition, a tree can also refer to other tree objects,\n-thus creating a directory hierarchy.  You can examine the contents of\n-any tree using ls-tree (remember that a long enough initial portion\n-of the SHA-1 will also work):\n-\n-------------------------------------------------\n-$ git ls-tree 92b8b694\n-100644 blob 3b18e512dba79e4c8300dd08aeb37f8e728b8dad    file.txt\n-------------------------------------------------\n-\n-Thus we see that this tree has one file in it.  The SHA-1 hash is a\n-reference to that file's data:\n-\n-------------------------------------------------\n-$ git cat-file -t 3b18e512\n-blob\n-------------------------------------------------\n-\n-A \"blob\" is just file data, which we can also examine with cat-file:\n-\n-------------------------------------------------\n-$ git cat-file blob 3b18e512\n-hello world\n-------------------------------------------------\n-\n-Note that this is the old file data; so the object that Git named in\n-its response to the initial tree was a tree with a snapshot of the\n-directory state that was recorded by the first commit.\n-\n-All of these objects are stored under their SHA-1 names inside the Git\n-directory:\n-\n-------------------------------------------------\n-$ find .git/objects/\n-.git/objects/\n-.git/objects/pack\n-.git/objects/info\n-.git/objects/3b\n-.git/objects/3b/18e512dba79e4c8300dd08aeb37f8e728b8dad\n-.git/objects/92\n-.git/objects/92/b8b694ffb1675e5975148e1121810081dbdffe\n-.git/objects/54\n-.git/objects/54/196cc2703dc165cbd373a65a4dcf22d50ae7f7\n-.git/objects/a0\n-.git/objects/a0/423896973644771497bdc03eb99d5281615b51\n-.git/objects/d0\n-.git/objects/d0/492b368b66bdabf2ac1fd8c92b39d3db916e59\n-.git/objects/c4\n-.git/objects/c4/d59f390b9cfd4318117afde11d601c1085f241\n-------------------------------------------------\n-\n-and the contents of these files is just the compressed data plus a\n-header identifying their length and their type.  The type is either a\n-blob, a tree, a commit, or a tag.\n-\n-The simplest commit to find is the HEAD commit, which we can find\n-from .git/HEAD:\n-\n-------------------------------------------------\n-$ cat .git/HEAD\n-ref: refs/heads/master\n-------------------------------------------------\n-\n-As you can see, this tells us which branch we're currently on, and it\n-tells us this by naming a file under the .git directory, which itself\n-contains a SHA-1 name referring to a commit object, which we can\n-examine with cat-file:\n-\n-------------------------------------------------\n-$ cat .git/refs/heads/master\n-c4d59f390b9cfd4318117afde11d601c1085f241\n-$ git cat-file -t c4d59f39\n-commit\n-$ git cat-file commit c4d59f39\n-tree d0492b368b66bdabf2ac1fd8c92b39d3db916e59\n-parent 54196cc2703dc165cbd373a65a4dcf22d50ae7f7\n-author J. Bruce Fields <bfields@puzzle.fieldses.org> 1143418702 -0500\n-committer J. Bruce Fields <bfields@puzzle.fieldses.org> 1143418702 -0500\n-\n-add emphasis\n-------------------------------------------------\n-\n-The \"tree\" object here refers to the new state of the tree:\n-\n-------------------------------------------------\n-$ git ls-tree d0492b36\n-100644 blob a0423896973644771497bdc03eb99d5281615b51    file.txt\n-$ git cat-file blob a0423896\n-hello world!\n-------------------------------------------------\n-\n-and the \"parent\" object refers to the previous commit:\n-\n-------------------------------------------------\n-$ git cat-file commit 54196cc2\n-tree 92b8b694ffb1675e5975148e1121810081dbdffe\n-author J. Bruce Fields <bfields@puzzle.fieldses.org> 1143414668 -0500\n-committer J. Bruce Fields <bfields@puzzle.fieldses.org> 1143414668 -0500\n-\n-initial commit\n-------------------------------------------------\n-\n-The tree object is the tree we examined first, and this commit is\n-unusual in that it lacks any parent.\n-\n-Most commits have only one parent, but it is also common for a commit\n-to have multiple parents.   In that case the commit represents a\n-merge, with the parent references pointing to the heads of the merged\n-branches.\n-\n-Besides blobs, trees, and commits, the only remaining type of object\n-is a \"tag\", which we won't discuss here; refer to linkgit:git-tag[1]\n-for details.\n-\n-So now we know how Git uses the object database to represent a\n-project's history:\n-\n-  * \"commit\" objects refer to \"tree\" objects representing the\n-    snapshot of a directory tree at a particular point in the\n-    history, and refer to \"parent\" commits to show how they're\n-    connected into the project history.\n-  * \"tree\" objects represent the state of a single directory,\n-    associating directory names to \"blob\" objects containing file\n-    data and \"tree\" objects containing subdirectory information.\n-  * \"blob\" objects contain file data without any other structure.\n-  * References to commit objects at the head of each branch are\n-    stored in files under .git/refs/heads/.\n-  * The name of the current branch is stored in .git/HEAD.\n-\n-Note, by the way, that lots of commands take a tree as an argument.\n-But as we can see above, a tree can be referred to in many different\n-ways--by the SHA-1 name for that tree, by the name of a commit that\n-refers to the tree, by the name of a branch whose head refers to that\n-tree, etc.--and most such commands can accept any of these names.\n-\n-In command synopses, the word \"tree-ish\" is sometimes used to\n-designate such an argument.\n-\n-The index file\n---------------\n-\n-The primary tool we've been using to create commits is `git-commit\n--a`, which creates a commit including every change you've made to\n-your working tree.  But what if you want to commit changes only to\n-certain files?  Or only certain changes to certain files?\n-\n-If we look at the way commits are created under the cover, we'll see\n-that there are more flexible ways creating commits.\n-\n-Continuing with our test-project, let's modify file.txt again:\n-\n-------------------------------------------------\n-$ echo \"hello world, again\" >>file.txt\n-------------------------------------------------\n-\n-but this time instead of immediately making the commit, let's take an\n-intermediate step, and ask for diffs along the way to keep track of\n-what's happening:\n-\n-------------------------------------------------\n-$ git diff\n---- a/file.txt\n-+++ b/file.txt\n-@@ -1 +1,2 @@\n- hello world!\n-+hello world, again\n-$ git add file.txt\n-$ git diff\n-------------------------------------------------\n-\n-The last diff is empty, but no new commits have been made, and the\n-head still doesn't contain the new line:\n-\n-------------------------------------------------\n-$ git diff HEAD\n-diff --git a/file.txt b/file.txt\n-index a042389..513feba 100644\n---- a/file.txt\n-+++ b/file.txt\n-@@ -1 +1,2 @@\n- hello world!\n-+hello world, again\n-------------------------------------------------\n-\n-So 'git diff' is comparing against something other than the head.\n-The thing that it's comparing against is actually the index file,\n-which is stored in .git/index in a binary format, but whose contents\n-we can examine with ls-files:\n-\n-------------------------------------------------\n-$ git ls-files --stage\n-100644 513feba2e53ebbd2532419ded848ba19de88ba00 0       file.txt\n-$ git cat-file -t 513feba2\n-blob\n-$ git cat-file blob 513feba2\n-hello world!\n-hello world, again\n-------------------------------------------------\n-\n-So what our 'git add' did was store a new blob and then put\n-a reference to it in the index file.  If we modify the file again,\n-we'll see that the new modifications are reflected in the 'git diff'\n-output:\n-\n-------------------------------------------------\n-$ echo 'again?' >>file.txt\n-$ git diff\n-index 513feba..ba3da7b 100644\n---- a/file.txt\n-+++ b/file.txt\n-@@ -1,2 +1,3 @@\n- hello world!\n- hello world, again\n-+again?\n-------------------------------------------------\n-\n-With the right arguments, 'git diff' can also show us the difference\n-between the working directory and the last commit, or between the\n-index and the last commit:\n-\n-------------------------------------------------\n-$ git diff HEAD\n-diff --git a/file.txt b/file.txt\n-index a042389..ba3da7b 100644\n---- a/file.txt\n-+++ b/file.txt\n-@@ -1 +1,3 @@\n- hello world!\n-+hello world, again\n-+again?\n-$ git diff --cached\n-diff --git a/file.txt b/file.txt\n-index a042389..513feba 100644\n---- a/file.txt\n-+++ b/file.txt\n-@@ -1 +1,2 @@\n- hello world!\n-+hello world, again\n-------------------------------------------------\n-\n-At any time, we can create a new commit using 'git commit' (without\n-the \"-a\" option), and verify that the state committed only includes the\n-changes stored in the index file, not the additional change that is\n-still only in our working tree:\n-\n-------------------------------------------------\n-$ git commit -m \"repeat\"\n-$ git diff HEAD\n-diff --git a/file.txt b/file.txt\n-index 513feba..ba3da7b 100644\n---- a/file.txt\n-+++ b/file.txt\n-@@ -1,2 +1,3 @@\n- hello world!\n- hello world, again\n-+again?\n-------------------------------------------------\n-\n-So by default 'git commit' uses the index to create the commit, not\n-the working tree; the \"-a\" option to commit tells it to first update\n-the index with all changes in the working tree.\n-\n-Finally, it's worth looking at the effect of 'git add' on the index\n-file:\n-\n-------------------------------------------------\n-$ echo \"goodbye, world\" >closing.txt\n-$ git add closing.txt\n-------------------------------------------------\n-\n-The effect of the 'git add' was to add one entry to the index file:\n-\n-------------------------------------------------\n-$ git ls-files --stage\n-100644 8b9743b20d4b15be3955fc8d5cd2b09cd2336138 0       closing.txt\n-100644 513feba2e53ebbd2532419ded848ba19de88ba00 0       file.txt\n-------------------------------------------------\n-\n-And, as you can see with cat-file, this new entry refers to the\n-current contents of the file:\n-\n-------------------------------------------------\n-$ git cat-file blob 8b9743b2\n-goodbye, world\n-------------------------------------------------\n-\n-The \"status\" command is a useful way to get a quick summary of the\n-situation:\n-\n-------------------------------------------------\n-$ git status\n-On branch master\n-Changes to be committed:\n-  (use \"git restore --staged <file>...\" to unstage)\n-\n-\tnew file:   closing.txt\n-\n-Changes not staged for commit:\n-  (use \"git add <file>...\" to update what will be committed)\n-  (use \"git restore <file>...\" to discard changes in working directory)\n-\n-\tmodified:   file.txt\n-\n-------------------------------------------------\n-\n-Since the current state of closing.txt is cached in the index file,\n-it is listed as \"Changes to be committed\".  Since file.txt has\n-changes in the working directory that aren't reflected in the index,\n-it is marked \"changed but not updated\".  At this point, running \"git\n-commit\" would create a commit that added closing.txt (with its new\n-contents), but that didn't modify file.txt.\n-\n-Also, note that a bare `git diff` shows the changes to file.txt, but\n-not the addition of closing.txt, because the version of closing.txt\n-in the index file is identical to the one in the working directory.\n-\n-In addition to being the staging area for new commits, the index file\n-is also populated from the object database when checking out a\n-branch, and is used to hold the trees involved in a merge operation.\n-See linkgit:gitcore-tutorial[7] and the relevant man\n-pages for details.\n-\n-What next?\n-----------\n-\n-At this point you should know everything necessary to read the man\n-pages for any of the git commands; one good place to start would be\n-with the commands mentioned in linkgit:giteveryday[7].  You\n-should be able to find any unknown jargon in linkgit:gitglossary[7].\n-\n-The link:user-manual.html[Git User's Manual] provides a more\n-comprehensive introduction to Git.\n-\n-linkgit:gitcvs-migration[7] explains how to\n-import a CVS repository into Git, and shows how to use Git in a\n-CVS-like way.\n-\n-For some interesting examples of Git use, see the\n-link:howto-index.html[howtos].\n-\n-For Git developers, linkgit:gitcore-tutorial[7] goes\n-into detail on the lower-level Git mechanisms involved in, for\n-example, creating a new commit.\n-\n-SEE ALSO\n---------\n-linkgit:gittutorial[7],\n-linkgit:gitcvs-migration[7],\n-linkgit:gitcore-tutorial[7],\n-linkgit:gitglossary[7],\n-linkgit:git-help[1],\n-linkgit:giteveryday[7],\n-link:user-manual.html[The Git User's Manual]\n+See linkgit:gitcore-tutorial[7] for a practical tutorial on how to\n+explore Git's internals.\n \n GIT\n ---\n-- \ngitgitgadget\n\n\n"},{"id":"554220","messageId":"68867aa3fcc7f901b615f1b882612de56a0d86fc.1791231610.git.gitgitgadget@gmail.com","threadId":"66411","inReplyTo":"pull.2241.v2.git.1791231610.gitgitgadget@gmail.com","subject":"[PATCH v2 2/2] doc: remove references to gittutorial-2","fromName":"Julia Evans via GitGitGadget","fromEmail":"gitgitgadget@gmail.com","sentAt":"2026-10-05T20:20:10Z","receivedAt":"2026-10-05T20:20:10Z","isPatch":true,"body":"From: Julia Evans <julia@jvns.ca>\n\nRedirect folks to `gitdatamodel` instead, since every time it's\nreferenced the intent is to explain objects, references, blobs, etc.\n\nThe update to `gittutorial` isn't very carefully thought through since\nwe're planning to delete that entire document anyway. It's just there to\nmaintain some internal consistency.\n\nSigned-off-by: Julia Evans <julia@jvns.ca>\n---\n Documentation/MyFirstObjectWalk.adoc |  2 +-\n Documentation/git.adoc               |  2 +-\n Documentation/gitcore-tutorial.adoc  |  1 -\n Documentation/gitcvs-migration.adoc  |  2 +-\n Documentation/gitglossary.adoc       |  1 -\n Documentation/gittutorial.adoc       | 23 +++++------------------\n 6 files changed, 8 insertions(+), 23 deletions(-)\n\ndiff --git a/Documentation/MyFirstObjectWalk.adoc b/Documentation/MyFirstObjectWalk.adoc\nindex 413a9fdb05..76e635b93a 100644\n--- a/Documentation/MyFirstObjectWalk.adoc\n+++ b/Documentation/MyFirstObjectWalk.adoc\n@@ -145,7 +145,7 @@ used to track the allocated size of the list.\n Per entry, we find:\n \n `item` is the object provided upon which to base the object walk. Items in Git\n-can be blobs, trees, commits, or tags. (See `Documentation/gittutorial-2.adoc`.)\n+can be blobs, trees, commits, or tags. (See `Documentation/gitdatamodel.adoc`.)\n \n `name` is the object ID (OID) of the object - a hex string you may be familiar\n with from using Git to organize your source in the past. Check the tutorial\ndiff --git a/Documentation/git.adoc b/Documentation/git.adoc\nindex 6f0075f918..1f0cbaee7a 100644\n--- a/Documentation/git.adoc\n+++ b/Documentation/git.adoc\n@@ -1200,7 +1200,7 @@ the Git Security mailing list <git-security@googlegroups.com>.\n \n SEE ALSO\n --------\n-linkgit:gittutorial[7], linkgit:gittutorial-2[7],\n+linkgit:gittutorial[7],\n linkgit:giteveryday[7], linkgit:gitcvs-migration[7],\n linkgit:gitglossary[7], linkgit:gitdatamodel[7],\n linkgit:gitcore-tutorial[7], linkgit:gitcli[7],\ndiff --git a/Documentation/gitcore-tutorial.adoc b/Documentation/gitcore-tutorial.adoc\nindex 2122aeb976..abbe193056 100644\n--- a/Documentation/gitcore-tutorial.adoc\n+++ b/Documentation/gitcore-tutorial.adoc\n@@ -1649,7 +1649,6 @@ to follow, not easier.\n SEE ALSO\n --------\n linkgit:gittutorial[7],\n-linkgit:gittutorial-2[7],\n linkgit:gitcvs-migration[7],\n linkgit:git-help[1],\n linkgit:giteveryday[7],\ndiff --git a/Documentation/gitcvs-migration.adoc b/Documentation/gitcvs-migration.adoc\nindex 905d08cd5f..66a5c3ed6d 100644\n--- a/Documentation/gitcvs-migration.adoc\n+++ b/Documentation/gitcvs-migration.adoc\n@@ -194,7 +194,7 @@ repositories without the need for a central maintainer.\n SEE ALSO\n --------\n linkgit:gittutorial[7],\n-linkgit:gittutorial-2[7],\n+linkgit:gitdatamodel[7],\n linkgit:gitcore-tutorial[7],\n linkgit:gitglossary[7],\n linkgit:giteveryday[7],\ndiff --git a/Documentation/gitglossary.adoc b/Documentation/gitglossary.adoc\nindex b046d9cb29..6051f494d3 100644\n--- a/Documentation/gitglossary.adoc\n+++ b/Documentation/gitglossary.adoc\n@@ -18,7 +18,6 @@ SEE ALSO\n --------\n linkgit:gitdatamodel[7],\n linkgit:gittutorial[7],\n-linkgit:gittutorial-2[7],\n linkgit:gitcvs-migration[7],\n linkgit:giteveryday[7],\n link:user-manual.html[The Git User's Manual]\ndiff --git a/Documentation/gittutorial.adoc b/Documentation/gittutorial.adoc\nindex 519b8d8be2..006e534778 100644\n--- a/Documentation/gittutorial.adoc\n+++ b/Documentation/gittutorial.adoc\n@@ -622,24 +622,12 @@ Next Steps\n ----------\n \n This tutorial should be enough to perform basic distributed revision\n-control for your projects.  However, to fully understand the depth\n-and power of Git you need to understand two simple ideas on which it\n-is based:\n+control for your projects.  However, to fully understand the Git\n+documentation, it's useful to learn how Git stores the history of\n+your project in its database. See linkgit:gitdatamodel[7] for an\n+explanation.\n \n-  * The object database is the rather elegant system used to\n-    store the history of your project--files, directories, and\n-    commits.\n-\n-  * The index file is a cache of the state of a directory tree,\n-    used to create commits, check out working directories, and\n-    hold the various trees involved in a merge.\n-\n-Part two of this tutorial explains the object\n-database, the index file, and a few other odds and ends that you'll\n-need to make the most of Git. You can find it at linkgit:gittutorial-2[7].\n-\n-If you don't want to continue with that right away, a few other\n-digressions that may be interesting at this point are:\n+A few other commands that may be interesting:\n \n   * linkgit:git-format-patch[1], linkgit:git-am[1]: These convert\n     series of git commits into emailed patches, and vice versa,\n@@ -662,7 +650,6 @@ digressions that may be interesting at this point are:\n \n SEE ALSO\n --------\n-linkgit:gittutorial-2[7],\n linkgit:gitcvs-migration[7],\n linkgit:gitcore-tutorial[7],\n linkgit:gitglossary[7],\n-- \ngitgitgadget\n\n"},{"id":"554222","messageId":"xmqqa4orkhod.fsf@gitster.g","threadId":"66411","inReplyTo":"pull.2241.v2.git.1791231610.gitgitgadget@gmail.com","subject":"Re: [PATCH v2 0/2] [doc] Remove gittutorial-2","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2026-10-05T20:37:22Z","receivedAt":"2026-10-05T20:37:22Z","isPatch":true,"body":"\"Julia Evans via GitGitGadget\" <gitgitgadget@gmail.com> writes:\n\n> This patch series removes gittutorial-2 and all references to it, leaving a\n> stub behind to help out any users who might be looking for this\n> documentation.\n>\n> The goal is to remove obsolete documentation and make it easier to improve\n> our tutorial material in the future.\n>\n> I tested that the docs are staying internally consistent by running git grep\n> tutorial-2 and making sure that the only remaining references are in the\n> Makefiles, the document itself, and some example output in user-manual.adoc\n> which isn't relevant to the actual manual.\n>\n> Changes in v2:\n>\n>  * Remove changes to .po files (thanks to Junio)\n>  * Reword commit messages to doc: ... (thanks to Tuomas)\n>\n> To deal with the conflict with 4ce144a1 (which requires that all guides be\n> listed in command-list.txt) I think we need to add another exception to\n> lint-manpages.sh (like Tuomas said).\n>\n> Julia Evans (2):\n>   doc: remove gittutorial-2\n>   doc: remove references to gittutorial-2\n\nThe titles of this round looks much better ;-).\n\nWill replace.  Let me mark the topic for 'next'.\n\nThanks.\n\n"},{"id":"554223","messageId":"474cac93-0502-4a89-a8c4-3af66c1670bf@app.fastmail.com","threadId":"66411","inReplyTo":"5fd36f91f086bbff929b267c6d74ebc822951da3.1791231610.git.gitgitgadget@gmail.com","subject":"Re: [PATCH v2 1/2] doc: remove gittutorial-2","fromName":"Kristoffer Haugsbakk","fromEmail":"kristofferhaugsbakk@fastmail.com","sentAt":"2026-10-05T20:37:33Z","receivedAt":"2026-10-05T20:37:33Z","isPatch":true,"body":"\nOn Mon, Oct 5, 2026, at 22:20, Julia Evans via GitGitGadget wrote:\n> From: Julia Evans <julia@jvns.ca>\n>[snip]\n>\n> More importantly, this approach of introducing Git by learning about the\n> contents of `.git` does not work for most people learning Git for the\n> first time. It's interesting information for some people (maybe more\n> advanced users or folks with a strong computer science background, for\n> not appropriate for a general tutorial).\n\nfor not?\n\n   ), but not appropriate\n\n\n\n  \n\n"},{"id":"554234","messageId":"20261006055002.M9X9O%taahol@utu.fi","threadId":"66411","inReplyTo":"pull.2241.v2.git.1791231610.gitgitgadget@gmail.com","subject":"Re: [PATCH v2 0/2] [doc] Remove gittutorial-2","fromName":"Tuomas Ahola","fromEmail":"taahol@utu.fi","sentAt":"2026-10-06T05:50:02Z","receivedAt":"2026-10-06T05:50:02Z","isPatch":true,"body":"\"Julia Evans via GitGitGadget\" <gitgitgadget@gmail.com> wrote:\n\n> This patch series removes gittutorial-2 and all references to it, leaving a\n> stub behind to help out any users who might be looking for this\n> documentation.\n> \n> The goal is to remove obsolete documentation and make it easier to improve\n> our tutorial material in the future.\n> \n> I tested that the docs are staying internally consistent by running git grep\n> tutorial-2 and making sure that the only remaining references are in the\n> Makefiles, the document itself, and some example output in user-manual.adoc\n> which isn't relevant to the actual manual.\n> \n> Changes in v2:\n> \n>  * Remove changes to .po files (thanks to Junio)\n>  * Reword commit messages to doc: ... (thanks to Tuomas)\n> \n> To deal with the conflict with 4ce144a1 (which requires that all guides be\n> listed in command-list.txt) I think we need to add another exception to\n> lint-manpages.sh (like Tuomas said).\n> \n\nExcluding the po/ stuff, the v1->v2 interdiff looks like this:\n\n$ git diff je/doc-remove-gittutorial-2@{1} je/doc-remove-gittutorial-2 -- ':!po/'\ndiff --git a/command-list.txt b/command-list.txt\nindex 5c649c882e..63ae2a67c9 100644\n--- a/command-list.txt\n+++ b/command-list.txt\n@@ -244,6 +244,7 @@ gitrepository-layout                    userinterfaces\n gitrevisions                            userinterfaces\n gitsubmodules                           guide\n gittutorial                             guide\n+gittutorial-2                           guide\n gitweb                                  ancillaryinterrogators\n gitworkflows                            guide\n scalar                                  mainporcelain\n\n\nThat, as can be guessed, causes git(1) to advertize this \"obsolete tutorial\".\nPerhaps we would like to avoid that.\n\n$ (cd Documentation/ && ./doc-diff je/doc-remove-gittutorial-2@{1} je/doc-remove-gittutorial-2)\ndiff --git a/7da429d7fb86fe400c48984ea1506a9e0477e80e/home/taahol/share/man/man1/git.1 b/0bf477ce01b45853195f5f3da63642712dc35579/home/taahol/share/man/man1/git.1\nindex efc100186b..57a7f270c8 100644\n--- a/7da429d7fb86fe400c48984ea1506a9e0477e80e/home/taahol/share/man/man1/git.1\n+++ b/0bf477ce01b45853195f5f3da63642712dc35579/home/taahol/share/man/man1/git.1\n@@ -800,6 +800,9 @@ GUIDES\n        gittutorial(7)\n            A tutorial introduction to Git.\n \n+       gittutorial-2(7)\n+           Obsolete tutorial.\n+\n        gitworkflows(7)\n            An overview of recommended workflows with Git.\n \n\nAnd let's not worry about that exception you mentioned.  After this topic hits\n'next', I can rebase mine on top on of this, and deal with all necessary\nintegration work.\n\nThanks!\n\n"}]}