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

Index area concept and blowing it up

From
anjibman <anjibcs@hotmail.com>
Date
Mar 29, 2012, 02:11 UTC
Message-ID
<1332987064083-7416124.post@n2.nabble.com>
Hi All,

My first question is where is this index actually in Git. Is that a some folder or some location?

Second, how really Git keep information about index?

Third, in git community book it says " If you blow the index away entirely, you generally haven't lost any information as long as you have the name of the tree that it described". I didn't get this statement can any one explain this in simple words.

And finally why git add is used for both adding untrack file as well as to move file to stage area? Is there any particular reason for this?

Thanks, Anjib

-- View this message in context: http://git.661346.n2.nabble.com/Index-area-concept-and-blowing-it-up-tp7416124p7416124.html Sent from the git mailing list archive at Nabble.com.

Next: Andreas Ericsson
Message 1 of 2 in “Index area concept and blowing it up”
  1. anjibmanMar 29, 2012
  2. Andreas EricssonMar 29, 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.