Skip to content

subtubes-io/infra-examples

Repository files navigation

Using multiple SSH keys with github

example ~/.ssh/config

Host github.com-work
	hostname github.com
	user git
	identityfile ~/.ssh/work-key

Host github.com-personal
	hostname github.com
	user git
	identityfile ~/.ssh/personal-key

Personal

git remote set-url origin [email protected]:personal-account-org-name/project-name.git

git push -u origin

Work

git remote set-url origin [email protected]:work-account-org-name/project-name.git

git push -u origin

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published