Fabian οΏ½ π³οΈβπ
#Git
Did you know that you can set 2 or more remotes with the same alias and so push to both (or more) of them at the same time when doing a git push?
That way you can push to gitlab, gitea and github in a single command
took me way, waaay to long to realize. :blobcatnotlikethis:
βoriginβ remote is the upstream where Iβm read-only and βforkβ isβ¦ you get it
How do you push to all remotes at once?
@fabiscafe I simply set multiple "pushurl"s for a remote name. When I pull, it will pull stuff only from the "url".
Here's one of the search results, arbitrarily picked, from searching "multiple pushurl git": https://www.delenamalan.co.za/til/2020-09-23-git-push-urls.html
#git
@fabiscafe that's actually cool! thanks for sharing that