To demonstrate usage of CLI features on gitSQL.
See https://gitsql.net/documentation for more detailed usage instructions.
-
Import.batImports AdventureWorks2012 fromsource_controlinto the desired SQL Server Instance as specified in the batch file. -
Export.batExports AdventureWorks2012 intosource_controlfrom the desired SQL Server Instance as specified int he batch file. Options file usage included -
opts.jsonContains sample options which can be used as part of an export. N.B. This options is required for an Import where more than one DB is detected in the source control path.
{
"includeDrop": "false",
"includeDependencies": "false",
"includeIndexes" : "false",
"includeConstraints": "false",
"includeTriggers": "false",
"replace":{
"findMe": "SET QUOTED_IDENTIFIER ON",
"replaceWith": ""
},
"db": "AdventureWorks2012",
"exportMode": "schema"
}