Set up A Secondary Git Account¶
This blog explains how to set up a secondary git account for a project rather than using the global git configuration.
- Create a new SSH key pair for the secondary account
- Add new SSH configuration into
~/.ssh/config
- Setup Repo Git Configuration
- Replace remote.
For example, if you use my-account
, then the remote URL will be: