S
S
SeoNk2017-06-04 18:20:36
git
SeoNk, 2017-06-04 18:20:36

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

1 answer(s)
N
Nazar Mokrinsky, 2017-06-04
@nazarpc

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 question

Ask a Question

731 491 924 answers to any question