Being one local directory for both GitHub and GitLab remote repos

ca flag

How do we have our one local directory for both GitHub and GitLab remote repos, always work as flawlessly as if each of two Git kind local repos is for each of the remote one?

tr flag

If you mean to have two remotes synced with one local clone, just set up multiple remotes with git and you can optionally "group" them under the same name like origin or all.

It is explained very nicely here.

Since there are no name collisions I know of with special dirs like .gitlab, .github, .gitlab-ci.yml and such, any CI configs should be able to coexist without issue.

I sit in a Tesla and translated this thread with Ai:


Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.