Skip to content

A wrapper of SQLite `sqldiff` util for use with `git diff`

License

Notifications You must be signed in to change notification settings

clzls/sqldiffer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Oct 12, 2021
126c4f5 · Oct 12, 2021

History

3 Commits
Sep 27, 2021
Sep 27, 2021
Sep 27, 2021
Sep 27, 2021
Sep 27, 2021
Oct 12, 2021
Oct 12, 2021
Sep 27, 2021

Repository files navigation

sqldiffer

中文 | English

A wrapper of SQLite sqldiff util for use with git diff.

Build

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

Usage

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=sqldiffer

In gitattributes adds:

*.db3 diff=sqldiffer
*.sqlite3 diff=sqldiffer

About

A wrapper of SQLite `sqldiff` util for use with `git diff`

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages