I have a git repo and I'd like to set a config entry so that anyone who pulls gets that config entry.
The specifics are that I have a sqlite3 database in the repo, and I'd like to configure git diff to show text versions of the database.
I have a .gitattributes file in the repo that makes git use the diff "sqlite3":
*.sqlite3 diff=sqlite3
but the sqlite3 diff needs to be defined in a git config section, like so:
[diff "sqlite3"]
binary = true
textconv = "echo .dump | sqlite3"
Currently I have tried putting it in the .git/config file, but it is not defined when pulling from this repo.
A workaround is to put it in the .git/config or ~/.gitconfig of each user, but I'd like it to be automatic.