git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
To: git@vger.kernel.org
Subject: basics... when reading docs doesn't help
Date: Thu, 29 Mar 2007 22:50:51 +0200 (CEST)	[thread overview]
Message-ID: <Pine.LNX.4.60.0703292225100.10351@poirot.grange> (raw)

Hi all

Since it's a basic question, I couldn't search archives - cannot come up 
with good enough search keywords, but would be greatful for pointers.

I've been using CVS for a few years now, briefly tried a couple of other 
CMS, but only briefly. Now trying to get to grisps with the git... And 
just cannot understand how everybody does it.

The package I'm trying to handle with git is the Linux kernel.

1. Ok, I clone a repository from Linus or some else.

2. as my internet connection is not very fast, although I do have 
flatrate, I prefer keeping a virgin cloned copy somewhere, where I only do 
pulls from the original clone source, no edits.

3. then I do git clone <path to original cloned tree> <new tree>

4. create a new branch in <new tree>

5. go hack / compile in the <new tree>

6. then I decide to build practically the same kernel for another machine, 
i.e., another configuration, maybe a couple of local changes...

Now, that's the first question: suppose I want to build kernels for about 
4 machines. Do you __really__ clone the whole tree 4 times??? And then I 
want try new versions for the same 4 machines without deleting the first 
ones - 4 more clones??? Now, my copy of Linus' tree was ATM 1.5GiB big... 
Slowly it's getting scary. Ok, if I build all that stuff on one 
filesystem, I can use --local to use hard links, right? But is it REALLY 
what everybody does?

The next thing is - I don't need all versions since 2.6.x in every copy I 
use to compile / test / hack - in most cases I only compare to the basis 
version, from which I branched. I might pull further updates into this 
repository, merge, etc., but I don't need all PAST commits! Can I clone 
starting from version x?

Ok, enough for starters:-)

Thanks
Guennadi
---
Guennadi Liakhovetski

             reply	other threads:[~2007-03-29 20:50 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-29 20:50 Guennadi Liakhovetski [this message]
2007-03-29 21:16 ` basics... when reading docs doesn't help J. Bruce Fields
2007-03-29 21:26   ` Junio C Hamano
2007-03-29 21:46     ` J. Bruce Fields
2007-03-29 22:13       ` Guennadi Liakhovetski
2007-03-29 22:35         ` Linus Torvalds
2007-03-30 18:16           ` Guennadi Liakhovetski
2007-03-30 18:48             ` Linus Torvalds
2007-03-30 19:49               ` Guennadi Liakhovetski
2007-03-30 20:06                 ` Linus Torvalds
2007-03-30 20:23                 ` Theodore Tso
2007-03-30 20:39                 ` Junio C Hamano
2007-03-30 21:11                   ` Guennadi Liakhovetski
2007-03-30  2:43         ` Theodore Tso
2007-03-30 14:49           ` J. Bruce Fields
2007-03-30 18:02         ` Andreas Herrmann
2007-03-30 18:24           ` Guennadi Liakhovetski
2007-03-29 22:27   ` Matthieu Moy

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

  List information: http://vger.kernel.org/majordomo-info.html

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.60.0703292225100.10351@poirot.grange \
    --to=g.liakhovetski@gmx.de \
    --cc=git@vger.kernel.org \
    /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.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).