From 9955d2d2a3afd9c8b07c2d1631a637dd9a339467 Mon Sep 17 00:00:00 2001 From: heqnx Date: Mon, 12 May 2025 10:33:12 +0300 Subject: added dotfiles for working with this cgit --- .gitconfig | 2 ++ .gitconfig.heqnx | 5 +++++ .ssh/config | 1 + .ssh/config.d/cgit.heqnx.com | 5 +++++ 4 files changed, 13 insertions(+) create mode 100644 .gitconfig create mode 100644 .gitconfig.heqnx create mode 100644 .ssh/config create mode 100644 .ssh/config.d/cgit.heqnx.com diff --git a/.gitconfig b/.gitconfig new file mode 100644 index 0000000..65802a1 --- /dev/null +++ b/.gitconfig @@ -0,0 +1,2 @@ +[includeIf "gitdir:~/Work/heqnx/cgit/"] + path = ~/.gitconfig.heqnx diff --git a/.gitconfig.heqnx b/.gitconfig.heqnx new file mode 100644 index 0000000..5f56a51 --- /dev/null +++ b/.gitconfig.heqnx @@ -0,0 +1,5 @@ +[user] + name = heqnx + email = root@heqnx.com +[url "git@cgit.heqnx.com:/srv/git/repos/"] + pushInsteadOf = https://cgit.heqnx.com/ diff --git a/.ssh/config b/.ssh/config new file mode 100644 index 0000000..53eda29 --- /dev/null +++ b/.ssh/config @@ -0,0 +1 @@ +Include config.d/* diff --git a/.ssh/config.d/cgit.heqnx.com b/.ssh/config.d/cgit.heqnx.com new file mode 100644 index 0000000..b0d5cba --- /dev/null +++ b/.ssh/config.d/cgit.heqnx.com @@ -0,0 +1,5 @@ +Host cgit.heqnx.com + HostName cgit.heqnx.com + User git + IdentityFile ~/.ssh/cgit.heqnx.com + IdentitiesOnly yes -- cgit v1.2.3