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

Re: "git rm" is not a valid merge resolution?

From
Junio C Hamano <gitster@pobox.com>
Date
Mar 21, 2011, 20:24 UTC
Message-ID
<7v1v20p6gb.fsf@alter.siamese.dyndns.org>
In-Reply-To
<4D87AE83.6080008@gmail.com>
Piotr Krukowiecki <piotr.krukowiecki@gmail.com> writes:
> Please see my other mail - file deletion can also be done by "git add". 
So what?

While it technically is correct that "git add" can be asked to do so (and no, forbidding "add -u" from noticing deletion or renaming the command to stage to spread the confusion even more is out of the question), people found that it is more natural to remove things with "rm", wished to have that separate command, and the wish was granted. We suggest its use when it is appropriate.

What is your problem?
Previous: Piotr Krukowiecki
Message 6 of 6 in “"git rm" is not a valid merge resolution?”
  1. Piotr KrukowieckiMar 21, 2011
  2. Matthieu MoyMar 21, 2011
  3. Piotr KrukowieckiMar 21, 2011
  4. Junio C HamanoMar 21, 2011
  5. Piotr KrukowieckiMar 21, 2011
  6. Junio C HamanoMar 21, 2011

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.