X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=scripts%2Fcreate-gitconfig;h=12cfeae89fb271fd2b9b5c6885d592f2699a849b;hb=9a51e591a683e3d9914c203a046016a921541a3e;hp=555603822c01ca317821feaa26e9608f3aad983c;hpb=076b1be21583d6f7d0561218f80aeb907e3ef3c6;p=git-central.git diff --git a/scripts/create-gitconfig b/scripts/create-gitconfig index 5556038..12cfeae 100644 --- a/scripts/create-gitconfig +++ b/scripts/create-gitconfig @@ -1,4 +1,14 @@ #!/bin/sh +# +# Creates a separate DAG in your repo for git config files. +# +# This allows you to checkout/modify/push the config/hooks for your repo +# locally. Then, with the help of post-receive-gitconfig, have your changes be +# automatically updated on the server. +# +# Also, it keeps all of your repo-specific information in your repo instead of +# leaking out into potentiallyshared hook scripts. +# # Create an empty file object empty_file_hash=$(git hash-object -w --stdin <