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