K6 InfluxDB + Grafana Docker : What Does "git Submodule Update --init" Mean
I am using K6 for Load Testing.
I have cloned the K6, Grafana, InfluxDB docker-compose set up from here:
The instructions for using the Docker are at the bottom of this page (https://k6.io/docs/results-visualization/influxdb-+-grafana) as shown here:
git clone 'https://github.com/loadimpact/k6' cd k6 git submodule update --init
What does the last line mean? (git submodule update --init). I can't see it doing anything.
Also is this a one off action that is only required the first time you clone this solution?
I am going to add my own tests to the cloned solution, delete the existing .git folder,run git init and then check it into my own new repository.
When other people clone my new repository will they have to run the 'git submodule update --init' command after cloning?
This line tells
git to update/get/pull submodules. This is required ... because git just doesn't pull them on its own so if you want to have access to them you need to run this command.
k6 did, long time ago(3 years I think), use submodules and apparently this has never been fixed in the documentation. I can't even tell you what the submodules were containing that would've been needed for this - but it is no longer needed.
I have made a PR to drop it.
- → Authenticate with a cookie using laravel 5.1 and jwt
- → Finding a specific GitLab tag from PHP
- → React: How to publish page on server using React-starter-kit
- → babel-loader, webpack, ES2015 modules: "Element type is invalid"
- → Create a function-attribute of a function, which is, in its turn, a method of an object literal
- → Model Validation in laravel 5.1 not working
- → GIT fatal: loose object
- → Laravel validation required rule not working
- → Axios array map callback
- → Where does this `webpack://` come from for `webpack-dev-middleware`?
- → error when trying to modify project in laravel forge
- → GitHub Pages and Jekyll content duplication and SEO issues
- → Use Laravel repositories with Datatables