[SM-Discuss] git question
Jeremy Blosser
jblosser-smgl at firinn.org
Thu May 18 11:08:23 EDT 2006
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
Url : http://lists.ibiblio.org/pipermail/sm-discuss/attachments/20060518/b5fbd5e6/attachment.bin
More information about the SM-Discuss
mailing list