Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb6f36bb

Browse files
authored
Add exclude_blob to git_clone (#925)
* Add exclude_blob to git_cloneAdded description for exclude_blob to git clone* Update git-clone.md* Update git-clone.mdReplaced blob files with blob objects* Update git-clone.md
1 parent97f1a5d commitb6f36bb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎_docs/pipelines/steps/git-clone.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ step_name:
5858
|`repo`| The path of the repository without the domain name in the form of`my_username/ my_repo`. {::nomarkdown} <br>Note: To clone a GitHub wiki, specify the full URL of the wiki,{:/} for example,`"https://github.com/wikis/examples.wiki"`.| Required|
5959
|`revision`| The revision of the repository you are checking out. It can be a revision hash or a branch name. The default value is the branch you have specified in your Git provider (e.g`master` or`main`).| Default|
6060
|`depth`| The number of commits to pull from the repo to create a shallow clone. Creating a shallow clone truncates the history to the number of commits specified, instead of pulling the entire history.| Optional|
61+
|`exclude_blob`| Specifies if to include or exclude blob (Binary Large Object) objects from the Git repo being cloned. <br>The options are:{::nomarkdown}<ul><li><codeclass="highlighter-rouge">false</code>: The default, includes blob objects from the Git repo being cloned. </li><li><codeclass="highlighter-rouge">true</code>: Excludes blob objects from the Git repo being cloned. Blob objects in the HEAD are always included, while historical versions are not.</li></ul>{:/}| Optional|
6162
|`use_proxy`| If set to true the Git clone process will honor`HTTP_PROXY` and`HTTPS_PROXY` variables if present for[working via a proxy](#using-git-behind-a-proxy). Default value is`false`.| Default|
6263
|`credentials`| Credentials to access the repository, if it requires authentication. It can an object containing`username` and`password` fields. Credentials are optional if you are using the[built-in Git integrations]({{site.baseurl}}/docs/integrations/git-providers/) .| Optional|
6364
|`timeout`| The maximum duration permitted to complete step execution in seconds (`s`), minutes (`m`), or hours (`h`), after which to automatically terminate step execution. For example,`timeout: 1.5h`. <br>The timeout supports integers and floating numbers, and can be set to a maximum of 2147483647ms (approximately 24.8 days). <br><br>If defined and set to either`0s/m/h` or`null`, the timeout is ignored and step execution is not terminated.<br>See[Add a timeout to terminate step execution](#add-a-timeout-to-terminate-step-execution).|Optional|

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp