I want to control the files that get returned while respecting their paths.
So essentially, if I run a function right now it returns the entire git directory, but this runs the risk of overwriting content I won't approve.
If I'm not using "--wipe", how do I provide back just the files matching my expression, like yaml/markdown files for example and still make sure i can export --path . but keep the paths they had in the directory internally?
I tested and with one mistake overwrite the git directory (whoops!). I want to protect from any files I didn't want touched, like source files, and just allow docs to be updated, but since file names are not determined till run, I need to control the paths/types and then still output to root of the repo with all the paths maintained.
Any examples?
Not sure of the right magic to perform here
