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

Re: user manual wrong about remote branches?

From
JFJ. Bruce Fields <bfields@fieldses.org>
Date
Jul 11, 2007, 15:28 UTC
Message-ID
<20070711152816.GB4138@fieldses.org>
In-Reply-To
<f158199e0707110821k50a55e66p8fb0b92a3dec9ed2@mail.gmail.com>
On Wed, Jul 11, 2007 at 11:21:53AM -0400, Bradford Smith wrote:
> I got the latest git source like this:
>
> git clone git://git.kernel.org/pub/scm/git/git.git
What version of git did you do this first clone with?
Show 17 quoted lines
> Then I did:
>
> make prefix=/usr/local all doc
> make prefix=/usr/local install install-doc
>
> So my current version is:
>
> git version 1.5.3.rc0.gbaa79
>
> Now, Documentation/user-manual.txt says I should be able to see the
> remote branch I cloned from when I do this in the source directory.
>
> git branch -r
>
> However, this command gives no output at all.  What gives?  Does this
> mean git-fetch and git-pull won't work properly to keep me up-to-date
> with the main repository?

The remote branch setup is done on the initial clone. So if you clone again with the newly installed version of git, you'll probably see what's expected.

--b.
Previous: Bradford SmithNext: Bradford Smith
Message 2 of 3 in “user manual wrong about remote branches?”
  1. Bradford SmithJul 11, 2007
  2. J. Bruce FieldsJul 11, 2007
  3. Bradford SmithJul 11, 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.