package
0.22.0
Repository: https://github.com/1800alex/go-git-cmd-wrapper.git
Documentation: pkg.go.dev

# Functions

Bare Make a bare Git repository.
Branch Instead of pointing the newly created HEAD to the branch pointed to by the cloned repository’s HEAD, point to <name> branch instead.
Config Set a configuration variable in the newly-created repository; this takes effect immediately after the repository is initialized, but before the remote history is fetched or any files checked out.
Depth Create a shallow clone with a history truncated to the specified number of commits.
Directory The name of a new directory to clone into.
Dissociate Borrow the objects from reference repositories specified with the --reference options only to reduce network transfer, and stop borrowing from them after a clone is made by making necessary local copies of borrowed objects.
Jobs The number of submodules fetched at the same time.
Local When the repository to clone from is on a local machine, this flag bypasses the normal 'Git aware' transport mechanism and clones the repository by making a copy of HEAD and everything under objects and refs directories.
Mirror Set up a mirror of the source repository.
NoCheckout No checkout of HEAD is performed after the clone is complete.
NoHardlinks Force the cloning process from a repository on a local filesystem to copy the files under the .git/objects directory instead of using hardlinks.
NoShallowSubmodules All submodules which are cloned will be shallow with a depth of 1.
NoSingleBranch Clone only the history leading to the tip of a single branch, either specified by the --branch option or the primary branch remote’s HEAD points at.
Origin Instead of using the remote name origin to keep track of the upstream repository, use <name>.
Progress Progress status is reported on the standard error stream by default when it is attached to a terminal, unless -q is specified.
Quiet Operate quietly.
RecurseSubmodules After the clone is created, initialize and clone submodules within based on the provided pathspec.
Repository The (possibly remote) repository to clone from.
SeparateGitDir Instead of placing the cloned repository where it is supposed to be, place the cloned repository at the specified directory, then make a filesystem-agnostic Git symbolic link to there.
ShallowExclude Create a shallow clone with a history, excluding commits reachable from a specified remote branch or tag.
ShallowSince Create a shallow clone with a history after the specified time.
ShallowSubmodules All submodules which are cloned will be shallow with a depth of 1.
Shared When the repository to clone is on the local machine, instead of using hard links, automatically setup .git/objects/info/alternates to share the objects with the source repository.
SingleBranch Clone only the history leading to the tip of a single branch, either specified by the --branch option or the primary branch remote’s HEAD points at.
Template Specify the directory from which templates will be used; (See the 'TEMPLATE DIRECTORY' section of git-init(1).) --template=<template_directory>.
UploadPack When given, and the repository to clone from is accessed via ssh, this specifies a non-default path for the command run on the other end.
Verbose Run verbosely.