git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] docs: clarify git rm --cached function in gitignore note

From
Elijah Newren <newren@gmail.com>
Date
May 3, 2023, 04:32 UTC
Message-ID
<CABPp-BH8Mw=Fi8heF9C9g3M-wX+FyAB8FzVR58ck2zxgrdHqbw@mail.gmail.com>
In-Reply-To
<20230503000932.153612-1-sohomdatta1+git@gmail.com>
Hi,
On Tue, May 2, 2023 at 5:33 PM Sohom <sohomdatta1@gmail.com> wrote:
Show 15 quoted lines
>
> Hey maintainers,
>
> Friendly ping regarding this patch (I assume it slipped through the cracks).
>
> It would be great if the change could be made to the git documentation, since
> it still is a common misconception amongst students that merely adding a file
> to .gitignore will lead to the file being automagically ignored by git when that
> is in fact not the case.
>
> P.S: sohomdatta1+git@gmail.com and sohom.datta@learner.manipal.edu are both me,
> that email was used by me previously when I was affiliated to my university.
>
> Regards,
> Sohom Datta.

Yeah, looks like it slipped through the cracks. The documentation change looks reasonable to me, though given the time that has passed, the context region has changed so it no longer cleanly applies. Could you rebase it and resubmit?

Also, while rebasing, the "isn't analogous" part of the commit message feels like it misses the mark in the explanation, and the body of the commit message would be better worded in the imperative tense. Perhaps change the main paragraph to something like:

Explain to users that the step to untrack a file will not also keep it untracked in the future.

When you resubmit, go ahead and cc me.
Previous: SohomNext: Sohom Datta via GitGitGadget
Message 3 of 7 in “docs: clarify git rm --cached function in gitignore note”
  1. docs: clarify git rm --cached function in gitignore noteSohom Datta via GitGitGadget, Oct 5, 2020
  2. SohomMay 3, 2023
  3. Elijah NewrenMay 3, 2023
  4. docs: clarify git rm --cached function in gitignore noteSohom Datta via GitGitGadget, May 3, 2023
  5. Junio C HamanoMay 3, 2023
  6. docs: clarify git rm --cached function in gitignore noteSohom Datta via GitGitGadget, May 3, 2023
  7. Elijah NewrenMay 7, 2023

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.