|
You are here |
ianduffy.ie | ||
| | | | |
themythicalengineer.com
|
|
| | | | | The Big Problem Imagine you have two GitHub accounts: one for personal use and one for work. You might be working on personal projects from your work laptop, but switching between these projects often requires manually updating your GitHub configuration: | |
| | | | |
memo.mx
|
|
| | | | | Be very carrefull in your setup : any misconfiguration make all the git config to fail silently ! Setup multiple git ssh identities for git Generate your SSH keys as per your git provider documentation. Add each public SSH keys to your git providers acounts. In your ~/.ssh/config, set each ssh key for each repository as in this exemple: Host github.com HostName github.com User git IdentityFile ~/.ssh/github_private_key IdentitiesOnly=yes Host gitlab.com Hostname gitlab.... | |
| | | | |
utf9k.net
|
|
| | | | | Did you know you can change Git attributes based on what folder you're in? | |
| | | | |
blog.bdw.li
|
|
| | | Using different machines to work on some git files can result in missing signign keys and some headache. | ||