git2-rs icon indicating copy to clipboard operation
git2-rs copied to clipboard

git clone arguments

Open uglyoldbob opened this issue 10 months ago • 1 comments

I would like to be able to specify arguments for the clone command. Specifically, "--depth 1 --branch (branch_name)"

uglyoldbob avatar Apr 14 '24 15:04 uglyoldbob

You can set the depth of the clone using FetchOptions#depth

danechitoaie avatar May 16 '24 19:05 danechitoaie