From: Sebastian Schuberth Date: Wed, 06 Jan 2016 13:04:22 GMT Subject: Re: Questions on passing --depth to git-clone vs. git-fetch Message-ID: <568D10D6.7020707@gmail.com> In-Reply-To: On 1/6/2016 13:41, Duy Nguyen wrote: > I think the culprit is the "git remote add" line. "git clone --depth" > by default will fetch only one branch (aka --single-branch option in > git-clone). But I suspect when you add a new remote, the default Now that you mention it I see this being documented as part of --single-branch instead of --depth, which I think is confusing. I'll send a patch. -- Sebastian Schuberth