-
-
Notifications
You must be signed in to change notification settings - Fork 694
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs(tutorials): use both GitHub and Gitea
- Loading branch information
Showing
2 changed files
with
13 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 [email protected]:ops/homelab | ||
git remote set-url --add --push origin [email protected]:khuedoan/homelab | ||
``` | ||
|
||
Now you can just run `git push` like usual and it will push to both GitHub and Gitea. |