Maintaining multiple GitHub accounts

Rudra Narayan
1 min readJan 23, 2018

--

I recently left a huge IT corporation for a promising startup.I was asked to change my GitHub handler name as it was too cool(I think) for them.Well instead of changing I created another account using my company email.

Now I got a problem.Every day when I come home and start hacking around my own projects I had to manually set my username and email id in git config in order to reflect my contributions in the graph and most of the time I forget to do so.

So I created some aliases to toggle between my two handles.

And that five minute I save every day from this hack..spends for…I don’t know.

Adios.

--

--