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

Re: Recursive remove

From
Junio C Hamano <junkio@cox.net>
Date
Jan 13, 2006, 19:51 UTC
Message-ID
<7vslrr6h4z.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<BAYC1-PASMTP08F3875A7636E18401E7B3AE260@CEZ.ICE>
sean <seanlkml@sympatico.ca> writes:
Show 8 quoted lines
> On Fri, 13 Jan 2006 09:37:54 -0800
> Junio C Hamano <junkio@cox.net> wrote:
>> 
>> 	$ rm -fr Some/Dir; git commit -a -m 'Remove'
>> 
>> perhaps?
>
> Sigh, its been a humbling morning all around; can't get easier than that.

Perhaps this is because I did not do a good job in Documentation/git-commit.txt. Something like this?

-- >8 --
Documentation: git-commit -a
A bit more elaboration on what "update all paths" means.
Signed-off-by: Junio C Hamano <junkio@cox.net>
---
diff --git a/Documentation/git-commit.txt b/Documentation/git-commit.txt
index e0ff74f..e35984d 100644
--- a/Documentation/git-commit.txt
+++ b/Documentation/git-commit.txt
@@ -25,7 +25,9 @@ information.
 OPTIONS
 -------
 -a|--all::
-	Update all paths in the index file.
+	Update all paths in the index file.  The command with this flag
+	notices files that have been modified and deleted, but new files
+	you have not told about git are not affected.
 
 -c or -C <commit>::
 	Take existing commit object, and reuse the log message
Previous: sean
Message 5 of 5 in “Recursive remove”
  1. Peter EriksenJan 13, 2006
  2. seanJan 13, 2006
  3. Junio C HamanoJan 13, 2006
  4. seanJan 13, 2006
  5. Junio C HamanoJan 13, 2006

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.