Is there a way to perform a git checkout for only certain file types (.xlf), which recurses down through the entire repository? The results should contain the struture of the repository, meaning the folders, and the contained files of a certain extension.
Repo A
file.xlf
file.txt
level2/
file2.xlf
file2.txt
level3/
file3.xlf
file3.txt
After checkout repo B looks like:
Repo B
file.xlf
/level2
file2.xlf
/level3
file3.xlf
This is what I have so far:
$ git checkout FETCH_HEAD -- '*.xlf'
This gives all of the ".xlf"
files at the root level, but is not recursive down to subdirectories.
Thank you for the help.