Open hadley opened 9 years ago
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()
git clone URL --depth 1 --no-hardlinks
clone()
Similarly, it would be useful to support the --branch argument like the git CLI
--branch
Shallow clones are not supported by libgit2 https://github.com/libgit2/libgit2/issues/3058
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 forclone()