diff --git a/git_template/description b/git_template/description deleted file mode 100644 index 498b267..0000000 --- a/git_template/description +++ /dev/null @@ -1 +0,0 @@ -Unnamed repository; edit this file 'description' to name the repository. diff --git a/git_template/hooks/ctags b/git_template/hooks/ctags deleted file mode 100755 index 8d6a243..0000000 --- a/git_template/hooks/ctags +++ /dev/null @@ -1,6 +0,0 @@ -#!/usr/bin/env bash -set -e -dir="$(git rev-parse --git-dir)" -trap 'rm -f "$dir/$$.tags"' EXIT -git ls-files | "${CTAGS:-ctags}" --tag-relative -L - -f "$dir/$$.tags" -mv "$dir/$$.tags" "$dir/tags" diff --git a/git_template/hooks/post-checkout b/git_template/hooks/post-checkout deleted file mode 100755 index 4c7f6cc..0000000 --- a/git_template/hooks/post-checkout +++ /dev/null @@ -1,2 +0,0 @@ -#!/usr/bin/env bash -.git/hooks/ctags >/dev/null 2>&1 & diff --git a/git_template/hooks/post-commit b/git_template/hooks/post-commit deleted file mode 100755 index 4c7f6cc..0000000 --- a/git_template/hooks/post-commit +++ /dev/null @@ -1,2 +0,0 @@ -#!/usr/bin/env bash -.git/hooks/ctags >/dev/null 2>&1 & diff --git a/git_template/hooks/post-merge b/git_template/hooks/post-merge deleted file mode 100755 index 4c7f6cc..0000000 --- a/git_template/hooks/post-merge +++ /dev/null @@ -1,2 +0,0 @@ -#!/usr/bin/env bash -.git/hooks/ctags >/dev/null 2>&1 & diff --git a/git_template/info/exclude b/git_template/info/exclude deleted file mode 100644 index a5196d1..0000000 --- a/git_template/info/exclude +++ /dev/null @@ -1,6 +0,0 @@ -# git ls-files --others --exclude-from=.git/info/exclude -# Lines that start with '#' are comments. -# For a project mostly in C, the following would be a good set of -# exclude patterns (uncomment them if you want to use them): -# *.[oa] -# *~ diff --git a/gitconfig b/gitconfig index 0a50201..d55d680 100644 --- a/gitconfig +++ b/gitconfig @@ -1,6 +1,3 @@ -[init] - templatedir = ~/.git_template - [alias] a = add aa = add --all