Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] git question

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Jeremy Blosser <jblosser-smgl AT firinn.org>
  • To: SM Discuss <sm-discuss AT lists.ibiblio.org>
  • Subject: Re: [SM-Discuss] git question
  • Date: Thu, 18 May 2006 10:08:23 -0500

On May 18, Treeve Jelbert [treeve AT scarlet.be] wrote:
> I use mainly the test grimoire from p4 or git.
> this works fine in most cases, but there are a few special cases such as
> glibc
> and gcc, for which I use the devel versions.
>
>
> 'git checkout' switches the visible version of the entire tree.
> When using git, how do I enable this setup, other than by making a local
> copy
> of the relevant spells?

$ git clone --shared /path/to/your/git/checkout
/var/lib/sorcery/codex/devel.git
$ cd /var/lib/sorcery/codex/devel.git
$ git checkout devel

The --shared will make it always get its objects from the main repo you
have, so it won't cost you any extra disk. To update it:

$ cd /var/lib/sorcery/codex/devel.git
$ git fetch; git pull . devel

Attachment: pgpw2mTgLnvEM.pgp
Description: PGP signature




Archive powered by MHonArc 2.6.24.

Top of Page