git2r icon indicating copy to clipboard operation
git2r copied to clipboard

Shallow clones

Open hadley opened this issue 9 years ago • 2 comments

It's often useful to be able to "shallow" clone a repo, e.g. git clone URL --depth 1 --no-hardlinks. Could we please have depth option for clone()

hadley avatar Apr 29 '15 13:04 hadley

Similarly, it would be useful to support the --branch argument like the git CLI

hadley avatar Apr 29 '15 13:04 hadley

Shallow clones are not supported by libgit2 https://github.com/libgit2/libgit2/issues/3058

stewid avatar Apr 30 '15 12:04 stewid