From dc18f26b297940c34db4f12ef302b52eed7a5a1a Mon Sep 17 00:00:00 2001 From: Anatoly Pashin Date: Thu, 8 Jul 2021 14:27:27 +1000 Subject: [PATCH] Update README.md --- README.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 35cf966..33aacff 100644 --- a/README.md +++ b/README.md @@ -14,12 +14,16 @@ git config --global init.templatedir ~/.git-templates ``` Copy the file "post-checkout" to your registered git template directory: ```bash -cp post-checkout ~/.git-templates/hooks/ +git clone https://github.com/DrVanScott/git-clone-init.git /tmp/git-clone-init +cp /tmp/git-clone-init/post-checkout ~/.git-templates/hooks/ +``` +Copy a configuration template: +```bash +cp /tmp/git-clone-init/.git-clone-init ~/ ``` - ## Configuration -You can use the file ".git-clone-init" as a starting point. Keep in mind to create a pattern for each protokoll you are using, normally ssh and https. +You can use the file ".git-clone-init" as a starting point. Keep in mind to create a pattern for each protocol you are using, normally ssh and https. Example: ```bash