git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* A trivial question on GIT
@ 2007-01-23 19:45 Allexio Ju
  2007-01-23 19:51 ` J. Bruce Fields
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Allexio Ju @ 2007-01-23 19:45 UTC (permalink / raw)
  To: junkio; +Cc: git

Hi,

I have trivial question on GIT.
I've made local copy of Linus's linux-2.6.git repository with
following git command,
---
# git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
linux-2.6.git
---

After this, I would like to know how to synchronize local copy and
keep updated  with Linus's.
I guess cloning everyday would be bad idea as it is heavy operation.
Can someone guide me on how to?


Thank you,

Allexio

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: A trivial question on GIT
  2007-01-23 19:45 A trivial question on GIT Allexio Ju
@ 2007-01-23 19:51 ` J. Bruce Fields
  2007-01-23 19:57 ` Bill Lear
  2007-01-23 20:03 ` Matthias Kestenholz
  2 siblings, 0 replies; 4+ messages in thread
From: J. Bruce Fields @ 2007-01-23 19:51 UTC (permalink / raw)
  To: Allexio Ju; +Cc: junkio, git

On Tue, Jan 23, 2007 at 11:45:14AM -0800, Allexio Ju wrote:
> I have trivial question on GIT.
> I've made local copy of Linus's linux-2.6.git repository with
> following git command,
> ---
> # git clone 
> git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
> linux-2.6.git
> ---
> 
> After this, I would like to know how to synchronize local copy and
> keep updated  with Linus's.
> I guess cloning everyday would be bad idea as it is heavy operation.

Yes!

> Can someone guide me on how to?

Just run:

	git fetch

--b.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: A trivial question on GIT
  2007-01-23 19:45 A trivial question on GIT Allexio Ju
  2007-01-23 19:51 ` J. Bruce Fields
@ 2007-01-23 19:57 ` Bill Lear
  2007-01-23 20:03 ` Matthias Kestenholz
  2 siblings, 0 replies; 4+ messages in thread
From: Bill Lear @ 2007-01-23 19:57 UTC (permalink / raw)
  To: Allexio Ju; +Cc: junkio, git

On Tuesday, January 23, 2007 at 11:45:14 (-0800) Allexio Ju writes:
>...
>After this, I would like to know how to synchronize local copy and
>keep updated  with Linus's.
>I guess cloning everyday would be bad idea as it is heavy operation.
>Can someone guide me on how to?

cd linux-2.6.git
git pull


Bill

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: A trivial question on GIT
  2007-01-23 19:45 A trivial question on GIT Allexio Ju
  2007-01-23 19:51 ` J. Bruce Fields
  2007-01-23 19:57 ` Bill Lear
@ 2007-01-23 20:03 ` Matthias Kestenholz
  2 siblings, 0 replies; 4+ messages in thread
From: Matthias Kestenholz @ 2007-01-23 20:03 UTC (permalink / raw)
  To: Allexio Ju; +Cc: git

On Tue, 2007-01-23 at 11:45 -0800, Allexio Ju wrote:
> Hi,
> 
> I have trivial question on GIT.
> I've made local copy of Linus's linux-2.6.git repository with
> following git command,
> ---
> # git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
> linux-2.6.git
> ---
> 
> After this, I would like to know how to synchronize local copy and
> keep updated  with Linus's.
> I guess cloning everyday would be bad idea as it is heavy operation.
> Can someone guide me on how to?
> 

Yes, go into the directory and execute git pull

If you want to know more, a good start is http://git.or.cz/

There you'll find links to tutorials and more.

Matthias

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-01-23 20:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-23 19:45 A trivial question on GIT Allexio Ju
2007-01-23 19:51 ` J. Bruce Fields
2007-01-23 19:57 ` Bill Lear
2007-01-23 20:03 ` Matthias Kestenholz

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).