Skip to content

Instantly share code, notes, and snippets.

@ThaddeusJiang
Last active October 27, 2017 07:11
Show Gist options
  • Save ThaddeusJiang/7b8fd0b680884039c7c8645b8ff0578f to your computer and use it in GitHub Desktop.
Save ThaddeusJiang/7b8fd0b680884039c7c8645b8ff0578f to your computer and use it in GitHub Desktop.
git 多账号

取消 global

git config --global --unset user.name
git config --global --unset user.email

为每一个repo设置user.email

da

git config  user.email "jf_jiang@dreamarts.co.jp"
git config  user.name "jf_jiang"

github

git config  user.email "thaddeusjiang@gmail.com"
git config  user.name "Jifa Jiang"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment