Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save dhb52/636fe3e13413cb89464dc338a72e38bd to your computer and use it in GitHub Desktop.
Save dhb52/636fe3e13413cb89464dc338a72e38bd to your computer and use it in GitHub Desktop.
  echo "diffing $*"
  $HOME/bin/excel_cmp/bin/excel_cmp "$1" "$2"
  exit 0
  • Configure [git config] (file://)
[diff "excel"]
    command = $HOME/bin/wrapper_excel_diff.sh
  • Add/commit/push .gitattributes file
.gitattributes
*.xls diff=excel
*.xlsx diff=excel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment