I just configured my IRC user name for ERC with (setq erc-nick "name").
Is there a similar variable for Magit, so it knows my Github username. If not, is there some ELisp I could write to add a hook to Magit or something like that?
Here is how to set your configuration using the command-line:
/usr/local/git/bin/git config --global github.token 123456789
/usr/local/git/bin/git config --global github.user tiago
/usr/local/git/bin/git config --global user.name tiago
/usr/local/git/bin/git config --global user.email [email protected]
;; for OSX
/usr/local/git/bin/git config --global credential.helper osxkeychain
/usr/local/git/bin/git config --global core.excludesfile ~/.gitignore_global
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With