mirror of
https://github.com/khuedoan/homelab.git
synced 2024-12-22 16:34:32 +07:00
docs(tutorials): use both GitHub and Gitea
This commit is contained in:
parent
0fc5998507
commit
9c243c69f5
@ -11,6 +11,7 @@
|
||||
- [External resources (optional)](./deployment/external-resources.md)
|
||||
- [Troubleshooting](./troubleshooting.md)
|
||||
- [Tutorials]()
|
||||
- [Use both GitHub and Gitea](./tutorials/use-both-github-and-gitea.md)
|
||||
- [Single node cluster adjustments](./tutorials/single-node-cluster-adjustments.md)
|
||||
- [Add or remove nodes (scale up or down)](./tutorials/add-or-remove-nodes.md)
|
||||
- [Run commands on multiple nodes](./tutorials/run-commands-on-multiple-nodes.md)
|
||||
|
12
docs/src/tutorials/use-both-github-and-gitea.md
Normal file
12
docs/src/tutorials/use-both-github-and-gitea.md
Normal file
@ -0,0 +1,12 @@
|
||||
# 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):
|
||||
|
||||
```sh
|
||||
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.
|
Loading…
Reference in New Issue
Block a user