From: Piotr Hosowicz <piotr@hosowicz.com>
To: Michal Hocko <mhocko@suse.cz>
Cc: LKML <linux-kernel@vger.kernel.org>
Subject: Re: GIT question - am I doing it correctly?
Date: Mon, 03 Jan 2011 15:22:40 +0100 [thread overview]
Message-ID: <4D21DBB0.1080007@example.com> (raw)
In-Reply-To: <20110103134807.GA3911@tiehlicka.suse.cz>
On 03.01.2011 14:48, Michal Hocko wrote:
> On Wed 29-12-10 17:23:02, Piotr Hosowicz wrote:
>> Hello,
>
> Hi,
>
>>
>> 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.
>
> 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.
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
now your way.
> If you are new to GIT I would strongly encourage you to read through the
> following ebook: http://progit.org/book/
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
next prev parent reply other threads:[~2011-01-03 14:22 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-29 16:23 GIT question - am I doing it correctly? Piotr Hosowicz
2011-01-03 13:48 ` Michal Hocko
2011-01-03 14:22 ` Piotr Hosowicz [this message]
2011-01-06 17:04 ` Piotr Hosowicz
2011-01-07 9:19 ` Michal Hocko
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4D21DBB0.1080007@example.com \
--to=piotr@hosowicz.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mhocko@suse.cz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.