Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # config
- change *.ssh/config*, if doesn't exists then create
- ```bash
- Host bitbucket.org
- IdentityFile /Users/fabio/.ssh/bitbucket1
- Host bitbucket2
- HostName bitbucket.org
- PreferredAuthentications publickey
- IdentityFile ~/.ssh/bitbucket2
- ```
- # add origin to bitbucket2
- ```bash
- $ git remote add origin ssh://git@bitbucket2/myname/confee-web2.git
- ```
- # add origin to bitbucket
- ```bash
- $ git remote add origin ssh://git@bitbucket.org/myname/confee-web2.git
- ```
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement