khuedoan-homelab/docs/tutorials/use-both-github-and-gitea.md
Khue Doan cd41343580
refactor(docs): migrate to mkdocs (#68)
* refactor(docs): migrate to mkdocs

* More markdown

* Admonitions
2022-07-06 12:33:35 +07:00

424 B

Use both GitHub and Gitea

Even though we self-host Gitea, you may still want to use GitHub as a backup and for discovery.

Add both push URLs (replace my repositories with yours):

git remote set-url --add --push origin git@git.khuedoan.com:ops/homelab
git remote set-url --add --push origin git@github.com:khuedoan/homelab

Now you can just run git push like usual and it will push to both GitHub and Gitea.