mirror of
https://github.com/tiktok/sparo.git
synced 2024-11-28 01:55:45 -05:00
24 lines
No EOL
1.1 KiB
Markdown
24 lines
No EOL
1.1 KiB
Markdown
---
|
|
title: sparo clone
|
|
---
|
|
|
|
```
|
|
sparo clone <repository> [directory]
|
|
|
|
Positionals:
|
|
repository The remote repository to clone from. [string] [required]
|
|
directory The name of a new directory to clone into. The "humanish" part of
|
|
the source repository is used if no directory is explicitly given
|
|
(repo for /path/to/repo.gitService and foo for
|
|
host.xz:foo/.gitService). Cloning into an existing directory is
|
|
only allowed if the directory is empty [string]
|
|
|
|
Options:
|
|
--help Show help [boolean]
|
|
-s, --skip-git-config By default, Sparo automatically configures the
|
|
recommended git settings for the repository you are
|
|
about to clone. If you prefer not to include this step,
|
|
you can use the input parameter --skip-git-config
|
|
[boolean] [default: false]
|
|
-b, --branch Specify a branch to clone [string]
|
|
``` |