Windows Example
12 |13 | s ^GITConfig($username,"gitpath")="c:\SmartGitHg 4\git\bin\" // path to git binaries 14 | s ^GITConfig($username,"workdir")="c:\sandbox\MyApp\" // path to git work directory 15 | s ^GITConfig($username,"authorname")="John Doe" // [optional] author name used in git commits 16 | s ^GITConfig($username,"authoremail")="johndoe@server.com" // [optional] author email used in git commits 17 | s ^GITConfig($username,"output")="c:\git.output.txt" // temp. file to store git output 18 | s ^GITConfig($username,"error")="c:\git.error.txt" // temp. file to store git error 19 | s ^GITConfig($username,"udl")="1" // [optional] use UDL format instead of XML 20 | s ^GITConfig($username,"xmlextension")="0" // [optional] use xml as file extension always. When using UDL you may want to turn this off. 21 | s ^GITConfig($username,"on.reloadfiles")=$lb("Studio.SourceControl.Sample.Callback", "Change") // [optional] classmethod to call after reloading a file 22 | s ^GITConfig($username,"on.workdirload")=$lb("Studio.SourceControl.Sample.Callback", "Change") // [optional] classmethod to call after a workdir load operation 23 | s ^GITConfig($username,"on.pull")=$lb("Studio.SourceControl.Sample.Callback", "Change") // [optional] classmethod to call after a pull operation 24 |25 | 26 |
Linux example
27 |28 | s ^GITConfig($username,"gitpath")="/usr/local/git/bin/" // path to git binaries 29 | s ^GITConfig($username,"workdir")="/workspace/myuser/myrepo/" // path to git work directory 30 | s ^GITConfig($username,"homedir")="/home/ensemble" // path to git home directory 31 | s ^GITConfig($username,"authorname")="John Doe" // [optional] author name used in git commits 32 | s ^GITConfig($username,"authoremail")="johndoe@server.com" // [optional] author email used in git commits 33 | s ^GITConfig($username,"output")="/tmp/output.txt" // temp. file to store git output 34 | s ^GITConfig($username,"error")="/tmp/error.txt" // temp. file to store git error 35 | s ^GITConfig($username,"udl")="1" // [optional] use UDL format instead of XML 36 | s ^GITConfig($username,"xmlextension")="0" // [optional] use xml as file extension always. When using UDL you may want to turn this off. 37 | s ^GITConfig($username,"on.reloadfiles")=$lb("Studio.SourceControl.Sample.Callback", "Change") // [optional] classmethod to call after reloading a file 38 | s ^GITConfig($username,"on.workdirload")=$lb("Studio.SourceControl.Sample.Callback", "Change") // [optional] classmethod to call after a workdir load operation 39 | s ^GITConfig($username,"on.pull")=$lb("Studio.SourceControl.Sample.Callback", "Change") // [optional] classmethod to call after a pull operation 40 |41 | 42 |