diff options
| author | Junio C Hamano <gitster@pobox.com> | 2023-11-02 16:53:14 +0900 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2023-11-02 16:53:15 +0900 |
| commit | 50758312f2d29a32858ccd25b24ea64ae8a04cb1 (patch) | |
| tree | d18aec2323a92bf729007f5914c8f7b84c2c64ba /Documentation | |
| parent | Merge branch 'mp/rebase-label-length-limit' into maint-2.42 (diff) | |
| parent | scalar reconfigure: help users remove buggy repos (diff) | |
| download | git-50758312f2d29a32858ccd25b24ea64ae8a04cb1.tar.gz git-50758312f2d29a32858ccd25b24ea64ae8a04cb1.zip | |
Merge branch 'ds/scalar-updates' into maint-2.42
Scalar updates.
* ds/scalar-updates:
scalar reconfigure: help users remove buggy repos
setup: add discover_git_directory_reason()
scalar: add --[no-]src option
Diffstat (limited to 'Documentation')
| -rw-r--r-- | Documentation/scalar.txt | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/Documentation/scalar.txt b/Documentation/scalar.txt index f33436c7f6..361f51a647 100644 --- a/Documentation/scalar.txt +++ b/Documentation/scalar.txt @@ -8,7 +8,8 @@ scalar - A tool for managing large Git repositories SYNOPSIS -------- [verse] -scalar clone [--single-branch] [--branch <main-branch>] [--full-clone] <url> [<enlistment>] +scalar clone [--single-branch] [--branch <main-branch>] [--full-clone] + [--[no-]src] <url> [<enlistment>] scalar list scalar register [<enlistment>] scalar unregister [<enlistment>] @@ -80,6 +81,11 @@ remote-tracking branch for the branch this option was used for the initial cloning. If the HEAD at the remote did not point at any branch when `--single-branch` clone was made, no remote-tracking branch is created. +--[no-]src:: + By default, `scalar clone` places the cloned repository within a + `<entlistment>/src` directory. Use `--no-src` to place the cloned + repository directly in the `<enlistment>` directory. + --[no-]full-clone:: A sparse-checkout is initialized by default. This behavior can be turned off via `--full-clone`. |
