Answer the question
In order to leave comments, you need to log in
Git - how to do it?
On the server there is a naked project repository with the following structure:
- sites
- site-one.ru
- site-two.ru
- other-files
I periodically send commits there from my local computer.
On the same server there is a folder /var/www/site-one.ru
Question:
How can I pull the latest changes to the /var/www/sites-one.ru folder from a bare repository?
When I do a git pull, all project files are pulled out, and I only need sites-one.ru
Answer the question
In order to leave comments, you need to log in
Is it possible to make a full-fledged repository and just make a symbolic link to the desired folder?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question