From: Michal Hocko <mhocko@suse.cz>
To: Piotr Hosowicz <piotr@hosowicz.com>
Cc: LKML <linux-kernel@vger.kernel.org>
Subject: Re: GIT question - am I doing it correctly?
Date: Mon, 3 Jan 2011 14:48:07 +0100 [thread overview]
Message-ID: <20110103134807.GA3911@tiehlicka.suse.cz> (raw)
In-Reply-To: <4D1B6066.9000701@example.com>
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.
If you are new to GIT I would strongly encourage you to read through the
following ebook: http://progit.org/book/
>
> 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
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
--
Michal Hocko
L3 team
SUSE LINUX s.r.o.
Lihovarska 1060/12
190 00 Praha 9
Czech Republic
next prev parent reply other threads:[~2011-01-03 13:48 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-29 16:23 Piotr Hosowicz
2011-01-03 13:48 ` Michal Hocko [this message]
2011-01-03 14:22 ` Piotr Hosowicz
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=20110103134807.GA3911@tiehlicka.suse.cz \
--to=mhocko@suse.cz \
--cc=linux-kernel@vger.kernel.org \
--cc=piotr@hosowicz.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®