git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* user manual wrong about remote branches?
@ 2007-07-11 15:21 Bradford Smith
  2007-07-11 15:28 ` J. Bruce Fields
  0 siblings, 1 reply; 3+ messages in thread
From: Bradford Smith @ 2007-07-11 15:21 UTC (permalink / raw)
  To: git

I got the latest git source like this:

git clone git://git.kernel.org/pub/scm/git/git.git

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?

Thanks,

Bradford C. Smith

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: user manual wrong about remote branches?
  2007-07-11 15:21 user manual wrong about remote branches? Bradford Smith
@ 2007-07-11 15:28 ` J. Bruce Fields
  2007-07-11 15:34   ` Bradford Smith
  0 siblings, 1 reply; 3+ messages in thread
From: J. Bruce Fields @ 2007-07-11 15:28 UTC (permalink / raw)
  To: Bradford Smith; +Cc: git

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?

> 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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: user manual wrong about remote branches?
  2007-07-11 15:28 ` J. Bruce Fields
@ 2007-07-11 15:34   ` Bradford Smith
  0 siblings, 0 replies; 3+ messages in thread
From: Bradford Smith @ 2007-07-11 15:34 UTC (permalink / raw)
  To: J. Bruce Fields; +Cc: git

OK, the problem was the old version of git (1.4.4.2) I used to do the
original clone.  Cloning with the latest version gives me what the
manual says I should get.

Thanks!

Bradford C. Smith

On 7/11/07, J. Bruce Fields <bfields@fieldses.org> wrote:
> 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?
>
> > 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.
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-07-11 15:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-11 15:21 user manual wrong about remote branches? Bradford Smith
2007-07-11 15:28 ` J. Bruce Fields
2007-07-11 15:34   ` Bradford Smith

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).