git - mechanism for adding/commiting external files
I have a single repository for a project that contains both database files and c# code. Currently, git support only allows me to commit database files, leaving the c sharp code out of step and potentially in an inconstant state.
It would be great if sql source control had the option to stage and commit other changes in the repository (or allow me to generate files but not commit changes - similar to working directory mode).
-
Neil Palmer commented
Workaround is to stage external files first using your favorite ui or git bash, then stage and commit your SQL changes.
This results in the external files getting swept up with the commit from sql source control. It means you have to be hyper-aware of exactly what is/isnt staged, but it works :)