diff --git a/custom-completions/git/git-completions.nu b/custom-completions/git/git-completions.nu index e159957..69eee5e 100644 --- a/custom-completions/git/git-completions.nu +++ b/custom-completions/git/git-completions.nu @@ -595,4 +595,46 @@ export extern "git worktree remove" [ # allow working tree to be pruned, moved or deleted export extern "git worktree unlock" [ ...args +] + +# clones a repo +export extern "git clone" [ + --help(-h) # display the help message for this command + --local(-l) # cloning from the local machine + --no-local # use the git transport mechanism even if cloning from a local path + --no-hardlinks # force git to copy files when cloning from the local machine + --shared(-s) # setup .git/objects/info/alternates to share objects with the source local repo + --reference: string # setup .git/objects/info/alternates to share objects with the = local repo + --reference-if-able: string # same as --reference, but skips empty folders + --dissociate # borrow objects from the referenced repo (--reference) + --quiet(-q) # suppress progress reporting + --verbose(-v) # be verbose + --progress # report progress unless --quiet + --server-option: string # transmit the =