Multiple git accounts

How to associate different git account to different projects? Let’s say you have two github accounts, one used at work and the other for your own projects but you want to use both from one linux account. You want to work on each project without a need to type in appropriate credentials everytime you push changes. Firstly you need to generate unique ssh keys for each of them: ssh-keygen -t rsa -C "your-work-email-address" -f NAME_OF_THE_FILE For instance:

Continue reading