Обычно я использую следующую команду внутри project.git
, чтобы получить архив в указанных целях:
git archive master | tar -x -C /home/kave/site/
Интересно, может ли его возможность архивировать непосредственно из удаленного репозитория в целевой каталог?
Я пробовал что-то вроде этого, без всякой радости:
git archive master https://[email protected]/myoproject.git | tar -x -C /home/kave/site/
Любые предложения? Благодаря