Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Git clone for dependencies default to be more specific #1033

Closed
DylanSD opened this issue Mar 26, 2020 · 1 comment
Closed

Git clone for dependencies default to be more specific #1033

DylanSD opened this issue Mar 26, 2020 · 1 comment
Assignees
Labels
kind/feature New feature or feature request

Comments

@DylanSD
Copy link

DylanSD commented Mar 26, 2020

Which solution do you suggest?
git clone for dependencies should default to being more specific (if not already done in the devspace CLI binary) for example specify a depth "--depth 1" when git cloning or

You can also use git shallow clone to access a single branch:

git clone [remote-url] --branch [name] --single-branch [folder]

With git shallow clone you get fewer files. And as a result, they clone faster. Builds and feedback can be delivered quicker.

/kind feature

@FabianKramm FabianKramm self-assigned this Mar 27, 2020
@FabianKramm FabianKramm added dependencies kind/feature New feature or feature request labels Mar 27, 2020
FabianKramm added a commit to FabianKramm/devspace that referenced this issue Mar 27, 2020
FabianKramm added a commit to FabianKramm/devspace that referenced this issue Mar 27, 2020
@FabianKramm
Copy link
Collaborator

Implemented in v4.9.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature New feature or feature request
Projects
None yet
Development

No branches or pull requests

2 participants