I already took a look at this post:
https://confluence.atlassian.com/bbkb/multiple-ssh-keys-settings-for-different-bitbucket-cloud-accounts-1168847503.html
But this fall very shortcoming if you use a package manager and the url are not editable on the fly. We do work with other entreprise, we have our own bitbucket and they have their. The git config fake domain work when doing a simple git clone from cli. But when using tools that automate the packages building, work across cie is a nightmare with bitbucket.
Can we have subdomain like gitlab please
gitlab.my_company.com
That would make this viable into a git config
or mycie.bitbuckt.org/ would be nice, it can redirect under the hood to bitbucket.org/mycie/ so you infra can still work but we could at least make a config that doesn't change the source to support multiple entreprise or cross entreprise repository with packages managers. having to duplicate branches between entreprise on bitbucket only for working is a huge pain.
Wish our management finally approve our request to move to gitlab or github, bitbucket is full of limitation compare to other offering.