tiktok-sparo/apps/website/docs/pages/commands/sparo_git-clone.md
2024-03-01 00:19:27 -08:00

19 lines
851 B
Markdown

---
title: sparo git-clone
---
This is the [mirrored subcommand](./overview.md) for `git clone`. It has the same functionality as the corresponding Git subcommand, but supports Sparo's optional anonymous timing metrics collection.
```
sparo git-clone [--template=<template-directory>]
[-l] [-s] [--no-hardlinks] [-q] [-n] [--bare] [--mirror]
[-o <name>] [-b <name>] [-u <upload-pack>] [--reference <repository>]
[--dissociate] [--separate-git-dir <git-dir>]
[--depth <depth>] [--[no-]single-branch] [--no-tags]
[--recurse-submodules[=<pathspec>]] [--[no-]shallow-submodules]
[--[no-]remote-submodules] [--jobs <n>] [--sparse] [--[no-]reject-shallow]
[--filter=<filter> [--also-filter-submodules]] [--] <repository>
[<directory>]
```
See [git clone](https://git-scm.com/docs/git-clone) in the Git documentation for details.