diff - how do I keep git config entries across pulls -



diff - how do I keep git config entries across pulls -

i have git repo , i'd set config entry pulls gets config entry.

the specifics have sqlite3 database in repo, , i'd configure git diff show text versions of database.

i have .gitattributes file in repo makes git utilize diff "sqlite3":

*.sqlite3 diff=sqlite3

but sqlite3 diff needs defined in git config section, so:

[diff "sqlite3"] binary = true textconv = "echo .dump | sqlite3"

currently have tried putting in .git/config file, not defined when pulling repo.

a workaround set in .git/config or ~/.gitconfig of each user, i'd automatic.

if users have access mutual shared folder, can take advantage of template directory utilize in git init --template=....

that template directory can contain config file copied during initialization of repo user.

other that, config isn't shared between repos instances.

the alternative version script can execute appropriate git config commands want users run. , have readme explicit plenty indicate users of rpeo should run said script.

git diff configuration-files

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -