On Wed, Jul 11, 2012 at 10:40 AM, Aran a...@organicdesign.co.nz wrote:
I'm just wondering how to clone an extension for a particular branch...
e.g. using Subversion I could do this:
svn co
http://svn.wikimedia.org/svnroot/mediawiki/branches/REL1_18/extensions/CheckUser
What's the equivalent git command to get that same version of the
extension?
You can use the -b option to 'git clone' to have it initially check out a
particular branch, something like:
git clone -b REL1_18
https://gerrit.wikimedia.org/r/p/mediawiki/extensions/CheckUser.git
This is pretty much the same as doing 'git clone' followed by 'git branch'
However, the old release branches on extensions have not been migrated to
git, so you won't be able to check out that particular version.
If you need the old ones, you can still check them out from SVN.
-- brion
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l