i am trying to build a capistrano deplyoment script for a git project which has a submodule.
I am running these commands
run "git clone git@github.com:GITPROJECT /var/www/myfolder"
when i run this the submodule wont clone to /var/www/myfolder instead it only creates an empty folder with the name of the submodule
when I try to run this it wont work either
run "cd /var/www/myfolder/submodule && git pull master"
can someone help me with this please ?