Hi all, for many years in order to setup remote origin url correctly and connect via .ssh key for new repositories I would need to change the default lines that bitbucket is generating for repositories.
For example if the default lines are:
git clone git@bitbucket.org:cars1/sharedcode.git
git clone https://cars1-admin@bitbucket.org/cars1/sharedcode.git
I would need to change it to:
cars1-admin@bitbucket.org:cars1/sharedcode.git
I do have multiple accounts on bitbucket and .ssh per account (work and private accounts.).
Every time I build new repository, I go through the same grueling process of finding why I can't connect to remote repository. Is there any way to make it more user friendly or am I using something wrong?
G'day, @NikolaRancic
Welcome to the community!
You can consider following our guidelines below on how to manage multiple SSH keys by creating an SSH configuration
Managing multiple Bitbucket user SSH keys on one device
This will allow you to connect to multiple accounts without having to update your remote URL.
I hope this helps.
Regards,
Syahrul
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.