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

Re: [PATCH] Update $GIT_DIR/remotes to $GIT_DIR/refs/remotes in docs

From
Nazri Ramliy <ayiehere@gmail.com>
Date
Nov 30, 2009, 07:48 UTC
Message-ID
<544dda350911292348g7790b64ep4782dffc427bbde5@mail.gmail.com>
In-Reply-To
<20091130050333.GA26585@coredump.intra.peff.net>
On Mon, Nov 30, 2009 at 1:03 PM, Jeff King <peff@peff.net> wrote:
Show 5 quoted lines
> Er, what? $GIT_DIR/remotes/ and $GIT_DIR/refs/remotes/ are not even
> remotely the same thing. The former holds information about how to
> contact remotes (but that information is usually held in the config file
> these days).  The latter holds any tracking refs we have fetched from
> the remotes.
Erg.. thanks for the enlightenment.

I was reading 'git help remote' while attempting to change my local git repo from tracking

  http://www.kernel.org/pub/scm/git/git.git
to
  git://git.kernel.org/pub/scm/git/git.git

and noticed that the documentation refers to $GIT_DIR/remotes and (wrongly) thought that it meant $GIT_DIR/refs/remotes.

Sorry for the noise.
Nazri.
Previous: Jeff King
Message 4 of 4 in “Update $GIT_DIR/remotes to $GIT_DIR/refs/remotes in docs”
  1. Update $GIT_DIR/remotes to $GIT_DIR/refs/remotes in docsayiehere@gmail.com, Nov 30, 2009
  2. Update $GIT_DIR/remotes to $GIT_DIR/refs/remotes in docsayiehere@gmail.com, Nov 30, 2009
  3. Jeff KingNov 30, 2009
  4. Nazri RamliyNov 30, 2009

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.