Post #3242225
2026-04-12 15:51 UTC
Replies (2)
-
@aliceif@mkultra.x27.one 2026-04-13 05:48
@lekiam@blahaj.zone depends on what you exactly are trying to say you want to do and where. First: I don't know about hosts like github/lab/tea's support for handling upstream branches. If it's just about on your dev machine, you can have two remotes - in your case your fork's origin and sharkey's upstream and you can check out branches of the same name from different remotes, as long as they're named differently on your local repo. So you could do something like: git switch -c sharkey-main --track upstream/main to have the Sharkey main as a different branch locally.
-
@z@blahaj.zone 2026-04-12 16:13
@lekiam@blahaj.zone ino se si esto te responde exactamente, pero, tu "main" y la "main" de upstream son distintas por definición. Al menos hablando de git. La "sincronizqción" no asume realmente que tengas qque tener lo mismo. (es respuesta muy a medias podría expandirla mucho pero no se cuanto muro quieres)