Comment on This is the back of my 10" Mini server rack -- Custom made 3D printed power modules for each server
gratux@lemmy.blahaj.zone 2 weeks ago FYI, Codeberg/Forgejo can automatically migrate repositories including metadata: docs.codeberg.org/advanced/migrating-repos/#migra…
Legion739@piefed.zip 2 weeks ago
Thanks yea I’ve used Codeberg before, but the main reason I use GitHub, is I try to create a good looking profile to point potential new Clients to when I’m looking for a new job, explaining Codeberg to them I feel is a step too much, and my income is Priority Nr1.
I’ll fight the Open-Source, anti-Big-Tech fight elsewhere.
curbstickle@anarchist.nexus 2 weeks ago
I totally get that
Quick heads up - codeberg has an option to auto push changes to github, or the other way around with a github action (I prefer codeberg first)
May want to give it a try, from a client perspective you can also use that to note that a distributed approach provides resiliency (and now it becomes a selling point too)
Legion739@piefed.zip 2 weeks ago
Nice thanks, that sounds good. I’d definitely only want to push to one place, if it then syncs to GitHub that’s fine.
curbstickle@anarchist.nexus 2 weeks ago
I’m with you, I don’t like having to do the same thing more than once
I set up an “about my repos” repo, which has a readme detailing the process, and explanations of what is where and what they are all for, which is what I point clients to. That also has a link to my personal forgejo to demo local git as well (which can also sync, btw) along with a note that it may be down for various reasons like updates or changes I’m making, which is why I also sync elsewhere.
Depending on what services you’re selling to clients, it makes for a neat and simple addition to the list of skills to demo!
And you’re kind of making me want to use a mini rack as an excuse to my wife for a 3d printer, but she already knows I’m not getting rid of my 12-15RU racks under my desks, so I’m going to have to wait until we find the property we want so I can build my workshop….
captcha_incorrect@lemmy.world 2 weeks ago
It seems that using multiple remotes is also possible. So instead of syncing two repos, push to both at once.
git-scm.com/docs/git-remote#Documentation/git-rem…
stackoverflow.com/questions/849308/…/12795747#127…
curbstickle@anarchist.nexus 2 weeks ago
You can, but you can also run into some issues if you have git LFS, if one rejects for whatever reason, or sometimes branch issues.
Thats why I prefer to go to one repo and push out from there, but it is absolutely doable with git by itself.