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

v1.8.0-150-gb0b00a3: Weird documentation for git-rm

From
Horst H. von Brand <vonbrand@inf.utfsm.cl>
Date
Nov 14, 2012, 18:15 UTC
Message-ID
<201211141815.qAEIFTBi017644@netbook1.inf.utfsm.cl>
The file Documentation/git-rm.txt says:

---8><---- 8><------- Using ``git add -A'' ~~~~~~~~~~~~~~~~~~~~ When accepting a new code drop for a vendor branch, you probably want to record both the removal of paths and additions of new paths as well as modifications of existing paths.

Typically you would first remove all tracked files from the working tree using this command:

Submodules ~~~~~~~~~~ ---8><---- 8><-------

I believe a command is missing here.
The explanation also leaves me scratching my head...

(In Fedora's git-1.7.7.6-1.fc16.x86_64 there is a command and some further explanation).

-- 
Dr. Horst H. von Brand                   User #22616 counter.li.org
Departamento de Informatica                    Fono: +56 32 2654431
Universidad Tecnica Federico Santa Maria             +56 32 2654239
Casilla 110-V, Valparaiso, Chile 2340000       Fax:  +56 32 2797513
Next: Matt Kraai
Message 1 of 3 in “v1.8.0-150-gb0b00a3: Weird documentation for git-rm”
  1. Horst H. von BrandNov 14, 2012
  2. docs: move submodule sectionMatt Kraai, Nov 14, 2012
  3. Matt KraaiNov 14, 2012

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.