Answer the question
In order to leave comments, you need to log in
How to deploy only certain files from a bare repository?
The server has a bare repository where changes from the local PC are pushed and a working directory where the site is deployed after each push with the command:
git --work-tree=$TARGET --git-dir=$GIT_DIR checkout -f $BRANCH
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question