* "merge" branch reset in powerpc.git tree
@ 2006-06-23 11:44 Paul Mackerras
2006-06-23 16:48 ` Dave C Boutcher
0 siblings, 1 reply; 5+ messages in thread
From: Paul Mackerras @ 2006-06-23 11:44 UTC (permalink / raw)
To: linuxppc-dev
If you are following the powerpc.git tree, and you pull the "merge"
branch, you will need to reset it to have commit ID
5fa21d821f6972e70942f2c555ec29dde962bdb2 as its head. That's also the
head of the "master" branch and of Linus' linux-2.6 tree at the
moment.
This is because there was a merge between the "master" branch and the
linux-2.6 tree which Linus didn't pull - instead he did a new merge.
The merge I did is now redundant, and needs to be removed to keep the
powerpc and linux-2.6 trees in sync.
Paul.
^ permalink raw reply [flat|nested] 5+ messages in thread
* "merge" branch reset in powerpc.git tree
2006-06-23 11:44 "merge" branch reset in powerpc.git tree Paul Mackerras
@ 2006-06-23 16:48 ` Dave C Boutcher
2006-06-23 19:10 ` Josh Boyer
0 siblings, 1 reply; 5+ messages in thread
From: Dave C Boutcher @ 2006-06-23 16:48 UTC (permalink / raw)
To: Paul Mackerras; +Cc: linuxppc-dev
On Fri, 23 Jun 2006 21:44:58 +1000, Paul Mackerras <paulus@samba.org> said:
>
> If you are following the powerpc.git tree, and you pull the "merge"
> branch, you will need to reset it to have commit ID
> 5fa21d821f6972e70942f2c555ec29dde962bdb2 as its head. That's also the
> head of the "master" branch and of Linus' linux-2.6 tree at the
> moment.
At risk of appearing like a git ignoramous...could you post the
command to perform such a reset?
Thanks
Dave B
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: "merge" branch reset in powerpc.git tree
2006-06-23 16:48 ` Dave C Boutcher
@ 2006-06-23 19:10 ` Josh Boyer
2006-06-23 19:24 ` Arnd Bergmann
0 siblings, 1 reply; 5+ messages in thread
From: Josh Boyer @ 2006-06-23 19:10 UTC (permalink / raw)
To: Dave C Boutcher; +Cc: linuxppc-dev, Paul Mackerras
On Fri, 2006-06-23 at 11:48 -0500, Dave C Boutcher wrote:
> On Fri, 23 Jun 2006 21:44:58 +1000, Paul Mackerras <paulus@samba.org> said:
> >
> > If you are following the powerpc.git tree, and you pull the "merge"
> > branch, you will need to reset it to have commit ID
> > 5fa21d821f6972e70942f2c555ec29dde962bdb2 as its head. That's also the
> > head of the "master" branch and of Linus' linux-2.6 tree at the
> > moment.
>
> At risk of appearing like a git ignoramous...could you post the
> command to perform such a reset?
Run the following in that branch:
git reset --hard 5fa21d821f6972e70942f2c555ec29dde962bdb2
That will reset the branch to the commit ID. NOTE: If you have local
changes on top, they will be wiped out.
There might be a way to do it without losing local changes, but I'm a
git idiot myself still.
josh
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: "merge" branch reset in powerpc.git tree
2006-06-23 19:10 ` Josh Boyer
@ 2006-06-23 19:24 ` Arnd Bergmann
2006-06-23 19:28 ` Josh Boyer
0 siblings, 1 reply; 5+ messages in thread
From: Arnd Bergmann @ 2006-06-23 19:24 UTC (permalink / raw)
To: linuxppc-dev; +Cc: Paul Mackerras
On Friday 23 June 2006 21:10, Josh Boyer wrote:
> git reset --hard 5fa21d821f6972e70942f2c555ec29dde962bdb2
>=20
> That will reset the branch to the commit ID. =A0NOTE: =A0If you have local
> changes on top, they will be wiped out.
>=20
> There might be a way to do it without losing local changes, but I'm a
> git idiot myself still.
>=20
My understanding is that you are not supposed to have local changes
on the branch you are pulling into, but have another branch for
merging the remote tree with your own changes.
Then again, I'm pretty clueless about git as well.
Arnd <><
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: "merge" branch reset in powerpc.git tree
2006-06-23 19:24 ` Arnd Bergmann
@ 2006-06-23 19:28 ` Josh Boyer
0 siblings, 0 replies; 5+ messages in thread
From: Josh Boyer @ 2006-06-23 19:28 UTC (permalink / raw)
To: Arnd Bergmann; +Cc: linuxppc-dev, Paul Mackerras
On Fri, 2006-06-23 at 21:24 +0200, Arnd Bergmann wrote:
> On Friday 23 June 2006 21:10, Josh Boyer wrote:
> > git reset --hard 5fa21d821f6972e70942f2c555ec29dde962bdb2
> >
> > That will reset the branch to the commit ID. NOTE: If you have local
> > changes on top, they will be wiped out.
> >
> > There might be a way to do it without losing local changes, but I'm a
> > git idiot myself still.
> >
> My understanding is that you are not supposed to have local changes
> on the branch you are pulling into, but have another branch for
> merging the remote tree with your own changes.
True. But there is nothing to prevent people from doing it. So I was
just warning them :).
josh
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2006-06-23 19:28 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-23 11:44 "merge" branch reset in powerpc.git tree Paul Mackerras
2006-06-23 16:48 ` Dave C Boutcher
2006-06-23 19:10 ` Josh Boyer
2006-06-23 19:24 ` Arnd Bergmann
2006-06-23 19:28 ` Josh Boyer
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).