News for hackers. Stuff that matters.
Re:Xfce switches to GitLab by oweiler on Sunday May 31, 2020 @11:22AM (#23370106)
How do you keep the repos in sync?
Re:Xfce switches to GitLab by rgibert on Sunday May 31, 2020 @12:00PM (#23370370)
You can setup git push to push to multiple repos.

git remote set-url --add origin ...

Re:Xfce switches to GitLab by rhn_mk1 on Sunday May 31, 2020 @01:53PM (#23371232)
I use GitLab as the primary source, and mirror it to GitHub.

Or, I would have, if the builtin GitLab mirroring feature wasn't broken for pushing to GitHub.

Re:Xfce switches to GitLab by fiddlerwoaroof on Sunday May 31, 2020 @01:03PM (#23370840)
I use multiple hosts to backup my repos: I host gitolite.org on a $5 VM and then have it configured to automatically push to gitlab and GitHub on every change.
Re:Xfce switches to GitLab by atommclain on Sunday May 31, 2020 @11:40AM (#23370218)
My guess is some form of:

git checkout master

git pull github/master

git push gitlab/master

Re:Xfce switches to GitLab by chx on Sunday May 31, 2020 @01:36PM (#23371076)
It's quite easy to set a git repo up to push to multiple upstreams. https://gist.github.com/bjmiller121/f93cd974ff709d2b968f also see https://stackoverflow.com/a/849960/308851