Fwd: git clone combined with --depth, --branch and --single-branch
- From
Thibault Kruse <tibokruse@googlemail.com>
- Date
- Feb 17, 2013, 19:10 UTC
- Message-ID
- <CAByu6UV+M76tcHPR4NqotiU=Fag-=sQFxyTOu3evhw+nRxQGhA@mail.gmail.com>
- In-Reply-To
- <CAByu6UVR7k-d8PkqhHBG-A1zTCETemjhch0OA7i6_56yBV_YyQ@mail.gmail.com>
Actually, using git 1.8.3, I get:
git clone repo1 repo2 --depth 1 warning: --depth is ignored in local clones; use file:// instead. ...
So I guess the warning says it all, it helps to read it.