Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Aug 2011 10:56:59 +0100
From:      "Robert N. M. Watson" <rwatson@freebsd.org>
To:        Doug Barton <dougb@FreeBSD.org>
Cc:        mdf@freebsd.org, Gleb Kurtsou <gleb.kurtsou@gmail.com>, Jonathan Anderson <jonathan.anderson@cl.cam.ac.uk>, Adrian Chadd <adrian@freebsd.org>, vadim_nuclight@mail.ru, freebsd-arch@freebsd.org
Subject:   Re: Official git export
Message-ID:  <B36D48AF-3825-43A7-ADD3-46D19CE2D89B@freebsd.org>
In-Reply-To: <4E583DB5.1090601@FreeBSD.org>
References:  <35765857-1314243257-cardhu_decombobulator_blackberry.rim.net-329610575-@b2.c15.bise7.blackberry> <CAJ-Vmo=v0UkQarauKrvWKdjMTC81BwXmyhU__rnaQeL3z45L-g@mail.gmail.com> <slrnj5ddgp.4ck.vadim_nuclight@kernblitz.nuclight.avtf.net> <CAMBSHm8uX45k0M4on=5Cpw_CKoddA=4oJSNXpH7dGPt=Vy2HOw@mail.gmail.com> <alpine.BSF.2.00.1108261000040.48200@fledge.watson.org> <CAJ-Vmo=OWz2TjWRrLBeRW3CCZjyVfTDajY9TYGZgzDQ7G3GBag@mail.gmail.com> <CAMGEAwD_v91bf_8e9mJXQa53OGdtqpiMJR%2B9sF0jOLkoDu94tQ@mail.gmail.com> <CAJ-Vmo=H6AKv3Emqa5GjSThEGy8P-utLyGNR6dRuKraqnyTSAQ@mail.gmail.com> <alpine.BSF.2.00.1108261222350.48200@fledge.watson.org> <CAMGEAwB_V8m7HNwxWMhfmNaX97f87gKVj_bOEeTLdLfjY4pjfA@mail.gmail.com> <20110826183130.GA40586@tops> <4E583DB5.1090601@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

On 27 Aug 2011, at 01:43, Doug Barton wrote:

> On 08/26/2011 11:31, Gleb Kurtsou wrote:
>> Jonathan, could you update /Git wiki page with an example of git =
clone
>> specifying only head branch and how to add another branch later. That
>> would make local repository copy smaller, pull faster and
>> 'git branch -r' output much shorter.
>=20
> I would be more inclined to look at git if there were easily available
> instructions of this nature.
> ...
> Doug (thinking I'm representative of enough similarly-minded people to
> make saying it out loud worthwhile)

As with all revision control systems, there are lots of ways to use git. =
I think there's huge value in documenting an authoritative "recommended" =
way to use git with FreeBSD. Other very similar projects to ours do =
exactly this -- for example, LLVM:

  http://llvm.org/docs/GettingStarted.html#git_mirror

And Chromium:

  http://code.google.com/p/chromium/wiki/UsingGit

Note that Chromium even wraps it up in a script to ensure the details =
are done right, and has notes on issues with getting Subversion =
auto-props right, etc.

The above both look a fair amount like Jon's draft notes on our wiki, in =
fact :-).

Robert=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B36D48AF-3825-43A7-ADD3-46D19CE2D89B>