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 submodule update --init --depth #37

Closed
longlho opened this issue Sep 12, 2019 · 2 comments
Closed

git submodule update --init --depth #37

longlho opened this issue Sep 12, 2019 · 2 comments

Comments

@longlho
Copy link

longlho commented Sep 12, 2019

Is there a way to specify depth for the submodule?

Thanks!

@TingluoHuang
Copy link
Member

you can do following to limit both checkout repo and its submodules fetch depth.

- uses: actions/checkout@v1
   with:
     depth: 3

@longlho
Copy link
Author

longlho commented Sep 13, 2019

thanks!

@longlho longlho closed this as completed Sep 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants