* Confused about tracking git master
@ 2006-04-18 18:08 Seth Falcon
2006-04-18 18:59 ` Nicolas Vilz
0 siblings, 1 reply; 3+ messages in thread
From: Seth Falcon @ 2006-04-18 18:08 UTC (permalink / raw)
To: git
Hi,
I'm tracking git and somehow getting confused about how to get
updates.
To start, I did: git clone git://git.kernel.org/pub/scm/git/git.git
To get updates, I _think_ all I have to do is 'git pull'. Doing so I
get:
Unpacking 157 objects
100% (157/157) done
* refs/heads/todo: same as branch 'todo' of git://git.kernel.org/pub/scm/git/git
* refs/heads/maint: same as branch 'maint' of git://git.kernel.org/pub/scm/git/git
* refs/heads/origin: same as branch 'master' of git://git.kernel.org/pub/scm/git/git
* refs/heads/pu: does not fast forward to branch 'pu' of git://git.kernel.org/pub/scm/git/git;
not updating.
Then when I do git whatchanged, the last change is on Saturday the
15th. I'm figuring there has probably been at least one commit since
then? So I tried 'git checkout origin' and then repeated the
whatchanged call and see:
diff-tree 2855d58... (from bb99661...)
Author: Junio C Hamano <junkio@cox.net>
Date: Mon Apr 17 17:46:07 2006 -0700
Is there a step I'm missing? Or am I just misunderstanding what to
expect? Clarification on either of those would be appreciated.
Thanks,
+ seth
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: Confused about tracking git master
2006-04-18 18:08 Confused about tracking git master Seth Falcon
@ 2006-04-18 18:59 ` Nicolas Vilz
2006-04-18 19:47 ` Seth Falcon
0 siblings, 1 reply; 3+ messages in thread
From: Nicolas Vilz @ 2006-04-18 18:59 UTC (permalink / raw)
To: Seth Falcon; +Cc: git
On Tue, Apr 18, 2006 at 11:08:48AM -0700, Seth Falcon wrote:
> To get updates, I _think_ all I have to do is 'git pull'. Doing so I
> get:
>
> Unpacking 157 objects
> 100% (157/157) done
> * refs/heads/todo: same as branch 'todo' of git://git.kernel.org/pub/scm/git/git
> * refs/heads/maint: same as branch 'maint' of git://git.kernel.org/pub/scm/git/git
> * refs/heads/origin: same as branch 'master' of git://git.kernel.org/pub/scm/git/git
> * refs/heads/pu: does not fast forward to branch 'pu' of git://git.kernel.org/pub/scm/git/git;
> not updating.
>
[..]
>
> Is there a step I'm missing? Or am I just misunderstanding what to
> expect? Clarification on either of those would be appreciated.
You are trapped with the pu branch imho, like many others before *G* ...
simply do a
Pull: +refs/heads/pu:refs/heads/pu
in your .git/remotes/origin file or remove that pu line...
Greetings
Nicolas
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Confused about tracking git master
2006-04-18 18:59 ` Nicolas Vilz
@ 2006-04-18 19:47 ` Seth Falcon
0 siblings, 0 replies; 3+ messages in thread
From: Seth Falcon @ 2006-04-18 19:47 UTC (permalink / raw)
To: git
Nicolas Vilz <niv@iaglans.de> writes:
> You are trapped with the pu branch imho, like many others before *G* ...
> simply do a
>
> Pull: +refs/heads/pu:refs/heads/pu
>
> in your .git/remotes/origin file or remove that pu line...
Thank you! That seems to get me going again. But, isn't this going
to trip up other newbies? I just tried a fresh git clone and the pu
branch comes in...
It would improve one's first impressions to not have to edit
.git/remotes/origin (although it is instructional) just to stay up to
date with git.
Cheers,
+ seth
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-04-18 19:47 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-18 18:08 Confused about tracking git master Seth Falcon
2006-04-18 18:59 ` Nicolas Vilz
2006-04-18 19:47 ` Seth Falcon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox