我正在使用symfony2,我想备份我的供应商,以防github无法访问.
如何克隆特定版本的存储库?
我想借助vendor-file备份存储库.
语法是这样的:
[symfony]
    git=http://github.com/symfony/symfony.git
    version=v2.0.9
现在我如何告诉git获取特定版本?有一个终端命令,如:
git clone --mirror http://github.com/symfony/symfony.git --version=v2.0.9
提前致谢
Mat*_*att 12
我要告诉git使用这个确切的版本是:
git clone http://github.com/symfony/symfony.git
cd symfony
git checkout v2.0.9
一个班轮:
git clone http://github.com/symfony/symfony.git -b v2.0.9