You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 3, 2025. It is now read-only.
@@ -48,6 +49,7 @@ bare:: (`boolean`, default `false`) Create a bare repository.
48
49
branches:: (`List<String>`, `[]`) Select full refs to use with `all = false`.
49
50
checkout:: (`boolean`, default `true`) Set to `false` to skip checking out a `HEAD`.
50
51
refToCheckout:: (`String`, default `null`) Instead of pointing the newly created `HEAD` to the branch pointed to by the cloned repository’s `HEAD`, point to `<name>` branch instead. In a non-bare repository, this is the branch that will be checked out. This can also take tags and detaches the `HEAD` at that commit in the resulting repository.
52
+
depth:: (`Integer`, default `null`) If set, does a shallow clone to the specified depth
51
53
credentials:: (`Credentials`, default `null`) An instance of link:https://github.com/ajoberstar/grgit/blob/{page-component-version}/grgit-core/src/main/groovy/org/ajoberstar/grgit/Credentials.groovy[Credentials] containing username/password to be used in operations that require authentication. See xref:grgit-authentication.adoc[grgit-authentication] for preferred ways to configure this.
0 commit comments