Is the folder structure for the files.
In one of the commits change something.
Next, I want to upload only changed files added in this commit, and retaining the parent folder.
Need to send changes to a third party.
- - class1.php
- - class2.php
- - helper1.php
- - helper2.php
- - folder1
- - - file.php
- - - file2.php
- - folder2
- - - script1.php
- - - script2.php
- - file.txt
- - file.php
In a separate commit modified files
The output should be an empty folder structure with the changed and added files.
- - helpers
- - - helper1.php
- - pdf
- - - folder1
- - - - file.php
- - xls
- - - addedfile.php
Is there a solution "out of the box" teams in the Gita.
Or you did that by command-line tools.
Choose grep-om the paths of the files no problem.
But for implementation, you need an additional script that rasarit way, will recreate the structure, copy files into the appropriate folders.