Added example Git config for handling both GitHub and the Gitea clone

2026-05-05 15:15:07 -06:00
parent 0f01018f29
commit ec55a271cf
+19
@@ -0,0 +1,19 @@
[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
[remote "origin"]
url = git@github.com:Dark-Alex-17/loki.wiki.git
fetch = +refs/heads/*:refs/remotes/origin/*
pushurl = git@github.com:Dark-Alex-17/loki.wiki.git
pushurl = git@git.alexjclarke.com:Dark-Alex-17/loki.wiki.git
push = refs/heads/master:refs/heads/master
push = refs/heads/master:refs/heads/main
[branch "master"]
remote = origin
merge = refs/heads/master
[remote "gitea"]
url = git@git.alexjclarke.com:Dark-Alex-17/loki.wiki.git
fetch = +refs/heads/*:refs/remotes/gitea/*
push = refs/heads/master:refs/heads/main