How to share config and hooks ?
- From
- Christian Senkowski <csenkowski@gmx.de>
- Date
- May 27, 2009, 19:58 UTC
- Message-ID
- <4A1D9B4C.7030504@gmx.de>
I am searching for a way to share 'config' and hooks/* automatically. I'd like to change and commit them as normal files and every user cloning this repo should get those.
One way might be a little wrapper-script for git-clone which looks if repo/.gitconfig or repo/.githooks exist and copies then the files to repo/.git/[...]
But I am searching for a way to do this without any additional scripts.
Does anyone have an idea ? And what'd you say about implementing this (with a yes-please-copy-the-found-files/no-leave-them-alone - question) directly into the git-binary ?