Ask HN: How do you manage multiple Git profiles (GitHub, Gitlab, Bitbucket)?
(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?
5 comments
[ 3.3 ms ] story [ 20.5 ms ] threadIf 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