Git clone auto download composer, npm, pip, vagrant, bower etc

- Bash, Development, Resources

After a download of a repository with many dependencies to install locally I decide to automatize also this step.

After that script, I created my script to be executed after the clone of a repo and now it is available on https://github.com/Mte90/Script/tree/master/git-templates/hooks.

To add a git template globally you need to do a command:

In this way you add a folder for git where search the hooks, very simple.

Actually there is only a script to be executed after the clone: https://github.com/Mte90/Script/blob/master/git-templates/hooks/post-checkout

The code search for composer, npm, bower, pip and vagrant and in case download all the dependencies.

Liked it? Take a second to support Mte90 on Patreon!

Become a Patreon
All the stuff released in this website, where the author is Daniele Scasciafratte, is under the GPL 2.0 license except when the resources have their licenses.

Leave a Reply