From a329e8f68afbfa7d960b0f00a08706b6ed03eda7 Mon Sep 17 00:00:00 2001 From: Darren 'Tadgy' Austin Date: Fri, 3 Nov 2023 21:56:55 +0000 Subject: [PATCH] Remove .gitconfig, add .gitconfig-* configs. --- .gitconfig-default | 27 ++++++++++++++ .gitconfig-root@* | 30 ++++++++++++++++ .gitconfig-root@*.afterdark.lan | 36 +++++++++++++++++++ .gitconfig-tadgy@*.afterdark.lan | 35 ++++++++++++++++++ ... => .gitconfig-tadgy@chuckie.afterdark.lan | 15 ++++++-- 5 files changed, 141 insertions(+), 2 deletions(-) create mode 100644 .gitconfig-default create mode 100644 .gitconfig-root@* create mode 100644 .gitconfig-root@*.afterdark.lan create mode 100644 .gitconfig-tadgy@*.afterdark.lan rename .gitconfig => .gitconfig-tadgy@chuckie.afterdark.lan (69%) diff --git a/.gitconfig-default b/.gitconfig-default new file mode 100644 index 0000000..7f9f4af --- /dev/null +++ b/.gitconfig-default @@ -0,0 +1,27 @@ +[user] + name = Darren 'Tadgy' Austin + email = darren@afterdark.org.uk +[color] + branch = auto + diff = auto + grep = auto + interactive = auto + showBranch = auto + status = auto + ui = auto +[credential] + username = tadgy + helper = cache --timeout 2592000 +[commit] + verbose = 1 +[push] + autoSetupRemote = true +[alias] + c = commit + co = checkout + d = diff + lsut = ls-files --others --exclude-standard --directory --error-unmatch -- ':/*' + p = push + s = status +[init] + defaultBranch = master diff --git a/.gitconfig-root@* b/.gitconfig-root@* new file mode 100644 index 0000000..9285de6 --- /dev/null +++ b/.gitconfig-root@* @@ -0,0 +1,30 @@ +[user] + name = Darren 'Tadgy' Austin + email = darren@afterdark.org.uk +[color] + branch = auto + diff = auto + grep = auto + interactive = auto + showBranch = auto + status = auto + ui = auto +[credential] + username = tadgy + helper = cache --timeout 2592000 +[commit] + verbose = 1 +[push] + autoSetupRemote = true +[alias] + c = commit + co = checkout + d = diff + lsut = ls-files --others --exclude-standard --directory --error-unmatch -- ':/*' + p = push + s = status +[init] + defaultBranch = master +[maintenance] + repo = / + repo = /root diff --git a/.gitconfig-root@*.afterdark.lan b/.gitconfig-root@*.afterdark.lan new file mode 100644 index 0000000..f499bb8 --- /dev/null +++ b/.gitconfig-root@*.afterdark.lan @@ -0,0 +1,36 @@ +[user] + name = Darren 'Tadgy' Austin + email = darren@afterdark.org.uk +[color] + branch = auto + diff = auto + grep = auto + interactive = auto + showBranch = auto + status = auto + ui = auto +[credential] + username = tadgy + helper = cache --timeout 2592000 +[commit] + verbose = 1 +[push] + autoSetupRemote = true +[alias] + c = commit + co = checkout + d = diff + lsut = ls-files --others --exclude-standard --directory --error-unmatch -- ':/*' + p = push + s = status +[init] + defaultBranch = master +[safe] + directory = /data/slackware/repo.git + directory = /data/slackware/tagfiles.git + directory = /data/slackware/tools.git + directory = /data/tmp/slackbuilds.git + directory = /data/tmp/ponce-slackbuilds.git +[maintenance] + repo = / + repo = /root diff --git a/.gitconfig-tadgy@*.afterdark.lan b/.gitconfig-tadgy@*.afterdark.lan new file mode 100644 index 0000000..1e26210 --- /dev/null +++ b/.gitconfig-tadgy@*.afterdark.lan @@ -0,0 +1,35 @@ +[user] + name = Darren 'Tadgy' Austin + email = darren@afterdark.org.uk +[color] + branch = auto + diff = auto + grep = auto + interactive = auto + showBranch = auto + status = auto + ui = auto +[credential] + username = tadgy + helper = cache --timeout 2592000 +[commit] + verbose = 1 +[push] + autoSetupRemote = true +[alias] + c = commit + co = checkout + d = diff + lsut = ls-files --others --exclude-standard --directory --error-unmatch -- ':/*' + p = push + s = status +[init] + defaultBranch = master +[safe] + directory = /data/slackware/repo.git + directory = /data/slackware/tagfiles.git + directory = /data/slackware/tools.git + directory = /data/tmp/slackbuilds.git + directory = /data/tmp/ponce-slackbuilds.git +[maintenance] + repo = /home/tadgy diff --git a/.gitconfig b/.gitconfig-tadgy@chuckie.afterdark.lan similarity index 69% rename from .gitconfig rename to .gitconfig-tadgy@chuckie.afterdark.lan index 45d8877..053918a 100644 --- a/.gitconfig +++ b/.gitconfig-tadgy@chuckie.afterdark.lan @@ -23,6 +23,8 @@ lsut = ls-files --others --exclude-standard --directory --error-unmatch -- ':/*' p = push s = status +[init] + defaultBranch = master [safe] directory = /data/slackware/repo.git directory = /data/slackware/tagfiles.git @@ -34,9 +36,18 @@ repo = /data/home/tadgy/Projects/bash-ini-parser.git repo = /data/home/tadgy/Projects/bash-tasksched.git repo = /data/home/tadgy/Projects/bootstrap.git + repo = /data/home/tadgy/Projects/bwbar.git repo = /data/home/tadgy/Projects/dotfiles.git repo = /data/home/tadgy/Projects/lumberjack.git + repo = /data/home/tadgy/Projects/pushover-client.git + repo = /data/home/tadgy/Projects/random-scripts.git + repo = /data/home/tadgy/Projects/repomanager.git + repo = /data/home/tadgy/Projects/slacknetsetup.git repo = /data/home/tadgy/Projects/slackpkg-templates.git + repo = /data/home/tadgy/Projects/slackrepo.git repo = /data/home/tadgy/Projects/system-configs.git -[init] - defaultBranch = master + repo = /data/slackware/repo.git + repo = /data/slackware/tagfiles.git + repo = /data/slackware/tools.git + repo = /data/tmp/slackbuilds.git + repo = /data/tmp/ponce-slackbuilds.git