I have about 10 extensions that I want to add to the index with a script in my CI pipeline.
I know that git add supports file patterns such as *.c (the term used in the documentation is 'fileglob').
However, is there a way to add multiple extensions with a single command, e.g. git add *.{dll,exe,json}?
I have not found any examples in the documentation or Stack overflow about this issue.
*.{dll,exe,json}is frombash. So if you use git-bash you can use the synax. In cmd just list extensions one by one:git add *.dll *.exe *.jsonsh, in which case like you say they need to enumerate the wildcards separately. See also Difference betweenshandbash