Re: GIT question - am I doing it correctly?

Previous thread: RE: smatch stuff: serial: ifx6x60: oops on load by Gorby, Russ on Wednesday, December 29, 2010 - 9:19 am. (1 message)

Next thread: (arm-)global platform device registration functions by Uwe Kleine-König on Wednesday, December 29, 2010 - 9:25 am. (5 messages)
From: Piotr Hosowicz
Date: Wednesday, December 29, 2010 - 9:23 am

Hello,

Everytime I git pull tyhe Linus' sources but before I build I apply 
Peter Zijlstra's fixes, Takashi Iwai's sources and Dave Miller's 
sources. The sequence is:

# the Linus' sources
git pull

# external sources
git remote add some_name git://some_URL.git

# update
git remote update

Then configure and I build. I noticed that especially Peter's git-update 
very quickly, not as long as they did before.

Is my procedure correct? I am new to GIT.

Regards,

Piotr Hosowicz

-- 
W trosce o najmłodsze pokolenie, nasi ustawodawcy winni znowelizować
ustawę o wychowaniu w trzeźwości i przeciwdziałaniu alkoholizmowi tak,
żeby zakazać wprowadzania na rynek gier planszowych, których celem
jest jak najszybsze dotarcie do mety.
NP: Peter Green Splinter Group - Turn Your Love Away
NB: 2.6.37-rc8
--

From: Michal Hocko
Date: Monday, January 3, 2011 - 6:48 am

What do you want to achieve? You want to build the tree that you have
added as a remote? If yes then you need to checkout a branch from that
remote

git checkout -b your_branch_name some_name/branch_you_want

then you will have a new your_branch_name which points to the tip of the
remote's branch and you can configure and make the tree.

Please note that 'git remote add && git remote update' will just add
commits from that remote tree and it doesn't affect your local copy
anyhow.

If you are new to GIT I would strongly encourage you to read through the

-- 
Michal Hocko
L3 team 
SUSE LINUX s.r.o.
Lihovarska 1060/12
190 00 Praha 9    
Czech Republic
--

From: Piotr Hosowicz
Date: Monday, January 3, 2011 - 7:22 am

Well, this is exactly answer to my question, but it is straghtly 
contrary to what Peter Zijlstra wrote me. Well, I'll build the kernel 

I'am new. Thanks for the URL.

Regards,

Piotr Hosowicz

-- 
- Za moich czasów to w sklepach był tylko ocet i denaturat!
- Tato, przestań, że w całym Tesco był tylko ocet i denaturat!
NP: Peter Green Splinter Group - I Can't Help Myself
NB: 2.6.37-rc8-git3
--

Previous thread: RE: smatch stuff: serial: ifx6x60: oops on load by Gorby, Russ on Wednesday, December 29, 2010 - 9:19 am. (1 message)

Next thread: (arm-)global platform device registration functions by Uwe Kleine-König on Wednesday, December 29, 2010 - 9:25 am. (5 messages)