Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Allow cloning with custom git depth #39

Closed
sgsfak opened this issue Mar 25, 2024 · 0 comments · Fixed by #40
Closed

Allow cloning with custom git depth #39

sgsfak opened this issue Mar 25, 2024 · 0 comments · Fixed by #40

Comments

@sgsfak
Copy link
Contributor

sgsfak commented Mar 25, 2024

Currently this block clones a Git repository with a --depth 1 CLI option to git. We recently had the need to retrieve the whole history of a git branch to have our Prefect task to retrieve DVC artifacts based on Git tag passed as parameter. So having the option to specify a specific depth or even the whole commit history of a branch is a useful feature.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant