I'm trying to set a directory as binary (a directory, not subfiles of the directory).
I try this in .gitignore :
DIRNAME binary
The gaol is to specify to git that the directory as to be treated as a "binary file"
To clearly explain :
My directory contain a set of files and subdirectories that can be read (all files and subdirectories in one time) by a specific program, it's like a Excel file (file.xlsx), an Excel contain multiple files and subdirectories, compressed with an xlsx extension, readable only by Microsoft Excel.
In parallel
- for my case : folder = binary file (all subfolder and files is needed to be readable)
- for Excel case : file.xlsx = binary file
It is possible to specify to Git that my directory is like a binary file ?
The goal, in parallel (when git merge) :
- for my case : Treat the directory as binary to execute diff with specific tool (that need the directory and its all contents)
- for Excel case : Treat file as binary to execute diff with Excel
I don't know if I was explain my problem clearly but it's not simple to describe...
DIRNAME binarydoesn't look like a valid glob? --- Also are you looking for git lfs?