Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- git config --global user.name "Your Name"
- git config --global user.email you@example.com
- 全局的通过vim ~/.gitconfig来查看
- git config user.name "Your Name"
- git config user.email you@example.com
- 局部的通过当前路径下的 .git/config文件来查看
- 也可以修改提交的用户名和Email:
- git commit --amend --author='Your Name <you@example.com>'
Add Comment
Please, Sign In to add comment