From 91ad697354722eac9a5142a17b24eac0f8f01ea8 Mon Sep 17 00:00:00 2001 From: Darren 'Tadgy' Austin Date: Thu, 14 May 2026 18:22:54 +0100 Subject: [PATCH] Initial commit. --- .githooks/gitattributesdb | 1 + .githooks/post-checkout | 3 +++ .githooks/post-merge | 3 +++ .githooks/pre-commit | 3 +++ .gitmodules | 3 +++ README | 3 +++ 6 files changed, 16 insertions(+) create mode 160000 .githooks/gitattributesdb create mode 100755 .githooks/post-checkout create mode 100755 .githooks/post-merge create mode 100755 .githooks/pre-commit create mode 100644 .gitmodules create mode 100644 README diff --git a/.githooks/gitattributesdb b/.githooks/gitattributesdb new file mode 160000 index 0000000..32c3157 --- /dev/null +++ b/.githooks/gitattributesdb @@ -0,0 +1 @@ +Subproject commit 32c31576efc71f7a8d02c78cdf7a9a3eabc75deb diff --git a/.githooks/post-checkout b/.githooks/post-checkout new file mode 100755 index 0000000..7c64633 --- /dev/null +++ b/.githooks/post-checkout @@ -0,0 +1,3 @@ +#!/bin/bash + +.githooks/gitattributesdb/gitattributesdb "${0##*/}" || exit $? diff --git a/.githooks/post-merge b/.githooks/post-merge new file mode 100755 index 0000000..7c64633 --- /dev/null +++ b/.githooks/post-merge @@ -0,0 +1,3 @@ +#!/bin/bash + +.githooks/gitattributesdb/gitattributesdb "${0##*/}" || exit $? diff --git a/.githooks/pre-commit b/.githooks/pre-commit new file mode 100755 index 0000000..7c64633 --- /dev/null +++ b/.githooks/pre-commit @@ -0,0 +1,3 @@ +#!/bin/bash + +.githooks/gitattributesdb/gitattributesdb "${0##*/}" || exit $? diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..f60f0b0 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule ".githooks/gitattributesdb"] + path = .githooks/gitattributesdb + url = https://github.com/tadgy/gitattributesdb.git diff --git a/README b/README new file mode 100644 index 0000000..c22eff1 --- /dev/null +++ b/README @@ -0,0 +1,3 @@ +Dotfiles for users are stored in separate branches. + +Use 'git checkout ' to switch to that users dotfiles.