How to setup multiple git accounts for GitHub and Bitbucket
Issue #514
Generate SSH keys
1 | ssh-keygen -t rsa -C "onmyway133@gmail.com" -f "id_rsa_github" |
1 | vim ~/.ssh/config |
Config
1 | git config --global user.email "onmyway133@gmail.com" |
Read more
- https://medium.com/avocoders/github-and-bitbucket-accounts-in-a-same-pc-5f8c67fd89d2
- https://www.atlassian.com/git/tutorials/setting-up-a-repository/git-config
Updated at 2020-10-04 06:52:07