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

Re: first impressions to git

From
Junio C Hamano <junkio@cox.net>
Date
Sep 18, 2005, 22:09 UTC
Message-ID
<7vk6he110j.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<20050918211855.GA1463@schottelius.org>
Nico -telmich- Schottelius <nico-linux-git@schottelius.org> writes:
Show 6 quoted lines
> [22:29] hydrogenium:git-core-0.99.6% ls git-update-*
> git-update-cache  git-update-server-info
>
> http://www.kernel.org/pub/software/scm/git/docs/tutorial.html (v0.99.5, Aug 2005):
>
> "The first step is trivial: when you want to tell git about any changes to your working tree, you use the git-update-index program."

This is my fault. The on-line documentation on kernel.org always follow what is in the "master" branch that is a bit ahead of the last released version.

Also, the version number on each of the page does not necessarily match the version of the software -- it gets updated to reflect the version of the last update of the doc, so the pages reachable from git.html show different versions.

But still when you saw us talk about "git-update-index" and saw you only have "git-update-cache", you could have looked at git.html documentation page and find out that it says the command git-update-index was previously known as git-update-cache.

Show 9 quoted lines
>> .git/description is actually a gitweb feature, not a core git feature. 
>> You'd only set it up for public repositories that you want to describe.
>
> That does not fit to what I see here:
>
> [22:46] hydrogenium:gpm% git-init-db 
> defaulting to local storage area
> [22:46] hydrogenium:gpm% ls .git 
> branches  description  HEAD  hooks  info  objects  refs  remotes

You two are both right. Git itself does not look at description, but just as a convenience it shows where to put that file if you ever want to publish it from its built-in templates.

>> ".git/remotes" is the current one; ".git/branches" is obsolete.
>
> Will .git/branches be complety removed later?

That is what the word deprecated usually means. For now both are supported.

Previous: Kay SieversNext: Petr Baudis
Message 7 of 11 in “first impressions to git”
  1. Nico -telmich- SchotteliusSep 18, 2005
  2. Petr BaudisSep 18, 2005
  3. Daniel BarkalowSep 18, 2005
  4. Junio C HamanoSep 18, 2005
  5. Nico -telmich- SchotteliusSep 18, 2005
  6. Kay SieversSep 18, 2005
  7. Junio C HamanoSep 18, 2005
  8. Petr BaudisSep 18, 2005
  9. Junio C HamanoSep 18, 2005
  10. Linus TorvaldsSep 18, 2005
  11. Sven VerdoolaegeSep 19, 2005

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.