]> code.delx.au - dotfiles/commitdiff
git: Use global hooksPath instead of templatedir
authorJames Bunton <jbunton@atlassian.com>
Thu, 31 Mar 2022 12:27:07 +0000 (23:27 +1100)
committerJames Bunton <jbunton@atlassian.com>
Thu, 31 Mar 2022 12:27:07 +0000 (23:27 +1100)
.git-hooks-global/prepare-commit-msg [moved from .git-template/hooks/prepare-commit-msg with 100% similarity]
.gitconfig
.gitignore-global [moved from .gitignore_global with 100% similarity]

index 14aae39432a1d3f4c84b196975db79fb6315efba..a128061237e87a8a3468a38a47dcaad91924deff 100644 (file)
@@ -1,7 +1,6 @@
-[init]
-       templatedir = ~/.git-template
 [core]
-       excludesfile = ~/.gitignore_global
+       hooksPath = ~/.git-hooks-global
+       excludesfile = ~/.gitignore-global
 [pager]
        branch = less -F
        tag = less -F
similarity index 100%
rename from .gitignore_global
rename to .gitignore-global