diff options
-rw-r--r-- | .gitconfig | 2 | ||||
-rw-r--r-- | .gitconfig.heqnx | 5 | ||||
-rw-r--r-- | .ssh/config | 1 | ||||
-rw-r--r-- | .ssh/config.d/cgit.heqnx.com | 5 |
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 |