|
You are here |
logr.cogley.info | ||
| | | | |
ar.al
|
|
| | | | | I'm setting up my new XPS 13 running Pop!_OS and one of the things I always have to do on any new machine is to configure git. So, both for my own reference and in case it helps anyone else, here's a list of things I do to set up git: Set up my identity (used in commits, tags, etc.) git config --global user.name "Aral Balkan" git config --global user.email mail@ar. | |
| | | | |
juandebravo.com
|
|
| | | | | Juan de Bravo - Personal thoughts about technology (@juandebravo) | |
| | | | |
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.... | |
| | | | |
www.integralist.co.uk
|
|
| | | Introduction The Problem? The Solution Creating a new Key SSH Config Optional Shell Function Alternatives? Another Alternative Introduction I recently had an issue with my GitHub set-up which has since prompted me to write this post. The issue I had was dealing with multiple GitHub accounts via SSH on a single laptop. So I have a GitHub account under the username Integralist. This is a personal account, and up until recently I was also using it to access my work's private repos (BBC and BBC-News). | ||