Set the username and mailbox for git under Ubuntu
From the slow repair of the yuan, up and down Quest Heart http://yanshaozhi.iteye.com/blog/386752
Although I did not see how to understand, but I use the first total method is set up, set up is not a hint.
Set it up later with: git config--list command to view.
Guides:tell git your user name and email address
Git needs to know your username and e-mail address to properly tag your commits. This is normally do on a global level:
[~]$ git config--global user.name "Lubin"
[~]$ git config--global user.email [email protected]
You can override these settings on a per-repo basis:
[~/path/to/repo]$ git config user.name "Lubin"
[~/path/to/repo]$ git config user.email [email protected]
This change would only affect the future commits. Past commits would retain the username and address they were committed with.
Some Tools would assume your GitHub config is in the same place (Http://github.com/blog/180-local-github-config):
[~]$ git config--global github.user lubin
[~]$ git config--global github.token 6ef8395fecf207165f1a82178ae1b984
Set the username and mailbox for git under Ubuntu