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

Andreas Schwab
2014-04-07T15:06:13Z

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.

Andreas.

--
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."