Added example Git config for handling both GitHub and the Gitea clone
+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
|
||||||
Reference in New Issue
Block a user