Guest User

Untitled

a guest
Mar 13th, 2018
312
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. git config --global user.name "Your Name"
  2. git config --global user.email you@example.com
  3. 全局的通过vim ~/.gitconfig来查看
  4.  
  5. git config user.name "Your Name"
  6. git config user.email you@example.com
  7. 局部的通过当前路径下的 .git/config文件来查看
  8.  
  9. 也可以修改提交的用户名和Email:
  10. git commit --amend --author='Your Name <you@example.com>'
Add Comment
Please, Sign In to add comment