Last active
December 30, 2018 17:15
-
-
Save metelkin/c9999257e75fabf75058b930f1859337 to your computer and use it in GitHub Desktop.
Example of .git/config file for working with qsp platforms: xlsx, word, xml, slv file comparison
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; using windows tools to compare files | |
[diff] | |
tool=windiff | |
; set location of windiff.bat | |
[difftool "windiff"] | |
cmd = \"Y:/testExel/windiff.bat\" \"$LOCAL\" \"$REMOTE\" | |
; Requires installation of node-textconv, see https://github.com/pismute/node-textconv | |
; The option is equivalent to: git config diff.xlsx.textconv "textconv --xlsx" | |
[diff "xlsx"] | |
textconv = textconv --xlsx | |
cachetextconv = true | |
; Requires installation of pandoc, see https://pandoc.org | |
; The option is equivalent to: git config diff.word.textconv "pandoc --to=markdown" | |
[diff "word"] | |
textconv = pandoc --to=markdown | |
binary=true | |
prompt=true | |
cachetextconv = true | |
; Requires installation of pretty-xml-textconv, see https://github.com/insysbio/pretty-xml-textconv | |
; The option is equivalent to: git config diff.xml.textconv pretty-xml-textconv | |
[diff "xml"] | |
textconv = pretty-xml-textconv | |
prompt=true | |
cachetextconv = true | |
; Requires installation of slv-textconf, see https://github.com/insysbio/slv-textconv | |
; The option is equivalent to: git config diff.slv.textconv slv-textconv | |
[diff "slv"] | |
textconv = slv clear |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment