← Package directory
Available on winget

Install gitsqlite

smudge/clean/diff git filters for checking in sqlite3 databases as text into git

Install with winget
winget install --id danielsiegl.gitsqlite
Upgrade
winget upgrade --id danielsiegl.gitsqlite
Uninstall
winget uninstall --id danielsiegl.gitsqlite

About gitsqlite

https://github.com/danielsiegl/gitsqlite/

What's new in 0.9.1

Trying to fix winget problem Full Changelog: v0.9.0...v0.9.1 📦 gitsqlite Release A Git clean/smudge/diff filter for storing SQLite databases in plain text SQL, enabling meaningful diffs and merges. There are several benefits over using sqlite3 .dump directly: - byte-by-byte equal across windows/linux/mac - Consistent float rounding (deterministic dumps). - Strip SQLite’s internal/system tables from dumps. - Temp-file I/O for robustness (vs fragile pipes). - handles broken pipes with Git Gui Clients - easier to deploy and maintain in an organization - eg: winget for windows - Optional: logging for diagnostics Quick Start 1. Download the appropriate binary for your platform and make sure it is reachable from Git Bash (Path) # Example for Windows winget install danielsiegl.gitsqlite # curl -L -o gitsqlite.exe https://github.com/danielsiegl/gitsqlite/releases/latest/download/gitsqlite-windows-amd64.exe 2. Install SQLite 3: winget install SQLite.SQLite (Windows) or sudo apt install sqlite3 (Linux) 3. Configure Git filters: echo '*.db filter=gitsqlite' >> .gitattributes # echo '*.db diff=gitsqlite' >> .gitattributes git config filter.gitsqlite.clean "gitsqlite clean" git config filter.gitsqlite.smudge "gitsqlite smudge" # git config diff.gitsqlite.textconv "gitsqlite diff" Available Binaries - Windows: gitsqlite-windows-amd64.exe, gitsqlite-windows-arm64.exe - Linux: gitsqlite-linux-amd64, gitsqlite-linux-arm64 - macOS: gitsqlite-macos-arm64 📖 Full documentation: README.md

Read release notes

Version history

Version Updated Notes
0.9.1 Unknown Trying to fix winget problem Full Changelog: v0.9.0...v0.9.1 📦 gitsqlite Release A Git clean/smudge/diff filter for storing SQLite databases in plain text SQL, enabling meaningful diffs and merges. There are several bene...
0.8.0 Unknown What's Changed - Schema Data can now be stored in a separate File, should mean fewer changes. - Refactoring Full Changelog: v0.7.9...v0.8.0 📦 gitsqlite Release A Git clean/smudge/diff filter for storing SQLite databases...
0.7.9 Unknown What's Changed - #89 Change diff to read from a database file argument instead of stdi… by @danielsiegl in #90 - #82 Add link to gitsqliteDiffFilterDemo sample repo in README by @danielsiegl in #91 - #92 Update Git filte...
0.7.8 Unknown What's Changed - #30 Add WinGet publishing step to release workflow for Windows artifacts by @danielsiegl in #84 Full Changelog: v0.7.7...v0.7.8 📦 gitsqlite Release A Git clean/smudge/diff filter for storing SQLite datab...
0.7.2 Unknown Release notes