git clone --recursive REPOSITORY_URL -o REPOSITORY_ALIAS
- --recursive - Gets the submodules too
- --o - Sets an alias for remote repo rather than defaulting to origin (useful when working in teams)
"There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies, and the other way is to make it so complicated that there are no obvious deficiencies. The first method is far more difficult."
git clone --recursive REPOSITORY_URL -o REPOSITORY_ALIAS
A neat script for retrieving database size in MB. I found it useful for checking on Amazon RDS instances.
SELECT table_schema "Database", SUM( data_length + index_length) / 1024 / 1024 "Size (MB)" FROM information_schema.TABLES GROUP BY table_schema ;