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

Re: Removing files

From
Jeff King <peff@peff.net>
Date
Jan 12, 2007, 00:17 UTC
Message-ID
<20070112001754.GD16042@coredump.intra.peff.net>
In-Reply-To
<87bql5xhbi.wl%cworth@cworth.org>
On Thu, Jan 11, 2007 at 03:41:05PM -0800, Carl Worth wrote:
Show 14 quoted lines
>     git commit -a
> 
> 	Commit the working-tree content of all files known to git.
> 
>     git commit paths...
> 
> 	Commit changes from the working-tree content of the specified
> 	paths.
> 
>     git commit
> 
> 	Commit changes from all content that has been staged with
> 	"git stage".
> 
[...]
> I really like the simplicity of explanation that this model
> provides. And I'd love to hear any feedback that anybody has about it.

I think this is a very easy way of explaining it in the documentation. But what do you think 'git status' should say about changed files? Currently we make recommendations about how to stage the various files. It would certainly be simpler to recommend 'git commit -a' for changes, but that feels wrong.

-Peff
Previous: Carl Worth
Message 15 of 15 in “Removing files”
  1. David KågedalJan 11, 2007
  2. Alex RiesenJan 11, 2007
  3. Seth FalconJan 11, 2007
  4. Junio C HamanoJan 11, 2007
  5. Eric WongJan 11, 2007
  6. Junio C HamanoJan 11, 2007
  7. git-status: wording update to deal with deleted files.Junio C Hamano, Jan 11, 2007
  8. Carl WorthJan 11, 2007
  9. Junio C HamanoJan 12, 2007
  10. Carl WorthJan 12, 2007
  11. Jakub NarebskiJan 12, 2007
  12. Jeff KingJan 12, 2007
  13. Juergen RuehleJan 12, 2007
  14. Carl WorthJan 11, 2007
  15. Jeff KingJan 12, 2007

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.