I am using multiple git accounts from the same computer. I want to change settings for the accounts. Searched google, but wasn't able to find the command that helps to open the config file.
EDIT : It looks like there are different ways and config files to access github.
The answer given by @Altius and here : gist.github.com/jexchan/2351996
I tried both - after setting up SSH keys for my second account, but both failed to push repository to my second account , but I can see repositories being pushed to my first - default account irrespective of what changes I make to any of the config files.
ssh -v [email protected]
and same for another account. Github does not allow shell access but you will see if logging in succeeds and which key is used – Binominalsubl ~/.gitconfig
– Milker