hi. it would be nice if the deploy via pm2 will take advange of --depth=1 when cloning/fetching the repository.
what do you think guys? eventually i can craft a PR with this change.
I think its a good idea, at least we should have an opt-in option to use --depth=1, but pm2 is using another module to do this :
i've gave a quick look to the source code and it seems to me that this changes can be enough but i have still to test this due to lack of time.
if someone can test the change i'll be grateful.
Landed in pm2 2.3.0
Most helpful comment
Landed in pm2
2.3.0