中文 | English
A wrapper of SQLite sqldiff util for use with git diff.
This repo is a Nimble package with some code written in Nim.
Before you get started, set up your Nim environment (by choosenim or manual
installation), install SQLite sqldiff util and make sure they are working.
To build it, simply treat it as a usual Nimble package like:
nimble build
Then install it into your $(PATH) use something like:
install sqldiffer /usr/local/bin
To use it as a external differ for git diff, you may edit your gitconfig and
gitattributes following the instructions in their man pages after placing
the tool in your $(PATH).
For example, in gitconfig adds:
[diff sqldiffer]
command=sqldifferIn gitattributes adds:
*.db3 diff=sqldiffer
*.sqlite3 diff=sqldiffer