On the production there is a folder "DIRX".
There is a repository with the structure:
MainDIR -dir0 -dir1 -dir2 How to get the contents of the folder MainDIR / dir1 in the production folder DIRX using git?
With SVN, this is done like this:
cd DIRX svn co //path/dir/ . With the git it turned out to pick up the folder along with its creation *, it was not possible to pick up the contents separately.
* so it turned out like this:
DIRX/dir1/ Also, if such a solution exists, how then to update (pick up the latest changes in) this folder?