Ask HN: How do you manage multiple Git profiles (GitHub, Gitlab, Bitbucket)?
6 vseplet 5 4/26/2025, 10:22:39 PM
(For example) I have a personal GitHub, a work GitLab, and a secret Bitbucket project.
How do you handle multiple Git identities? Any tools, workflows, or best practices you recommend?
If you have multiple github accounts, you can use separate keys by defining custom hosts in your ssh config, but that doesn't seem relevant in your case.
But I was wondering if anyone has solved a similar problem or uses some ready-made tool)
this is required online security 101 btw. otherwise you're sending your full keychain identity (all your pub keys) to every ssh server you try to connect