Re: Vendor branches on sourceware.org's binutils-gdb repo

Mark Kettenis
2014-04-07T15:39:47Z

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 585 bytes --]

> From: Andreas Schwab <schwab@suse.de>
> Date: Mon, 07 Apr 2014 17:06:08 +0200
>
> Mark Kettenis <mark.kettenis@xs4all.nl> writes:
>
> > So how do I tell git to only clone master and not give me everybody
> > else's shit? Last time I tried to do that, it simply didn't work.
>
> git-clone(1):
>
> --[no-]single-branch
> Clone only the history leading to the tip of a single branch,
> either specified by the --branch option or the primary branch
> remote’s HEAD points at.

But I can't push from a repository cloned like that can I?