File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -14,12 +14,16 @@ git config --global init.templatedir ~/.git-templates
1414```
1515Copy the file "post-checkout" to your registered git template directory:
1616``` bash
17- cp post-checkout ~ /.git-templates/hooks/
17+ git clone https://github.com/DrVanScott/git-clone-init.git /tmp/git-clone-init
18+ cp /tmp/git-clone-init/post-checkout ~ /.git-templates/hooks/
19+ ```
20+ Copy a configuration template:
21+ ``` bash
22+ cp /tmp/git-clone-init/.git-clone-init ~ /
1823```
19-
2024## Configuration
2125
22- 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.
26+ 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.
2327
2428Example:
2529``` bash
You can’t perform that action at this time.
0 commit comments