I usually use the command below inside my project.git
to get an archive in the specified destinations:
git archive master | tar -x -C /home/kave/site/
I wonder if its possible to archive directly from a remote repository instead into a destination directory?
I tried something like this, without any joy:
git archive master https://kave@dndigital.git.cloudforge.com/myoproject.git | tar -x -C /home/kave/site/
Any suggestions? Thanks