summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorheqnx <root@heqnx.com>2025-05-12 10:33:12 +0300
committerheqnx <root@heqnx.com>2025-05-12 10:33:12 +0300
commit9955d2d2a3afd9c8b07c2d1631a637dd9a339467 (patch)
treed6ed874980c4792a5e341bb3dd8605015fa9a983
parent5cd4565ddc4e3b0e8b9617d3ec654cb42be50903 (diff)
downloadcgit-9955d2d2a3afd9c8b07c2d1631a637dd9a339467.tar.gz
cgit-9955d2d2a3afd9c8b07c2d1631a637dd9a339467.zip
added dotfiles for working with this cgit
-rw-r--r--.gitconfig2
-rw-r--r--.gitconfig.heqnx5
-rw-r--r--.ssh/config1
-rw-r--r--.ssh/config.d/cgit.heqnx.com5
4 files changed, 13 insertions, 0 deletions
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