Skip to content

Instantly share code, notes, and snippets.

@xproxima
Last active March 30, 2019 16:51
Show Gist options
  • Save xproxima/82da8c453a1f22daf1673137672491f2 to your computer and use it in GitHub Desktop.
Save xproxima/82da8c453a1f22daf1673137672491f2 to your computer and use it in GitHub Desktop.
github本地账号切换
# 禁止本地保存账号
git config --global --unset credential.helper
git config --system --unset credential.helper
# 本地保存账号
git config credential.helper store
# 禁止本地保存账号
git config --global credential.helper wincred
git credential-manager uninstall
# 本地保存账号
git config credential.helper store
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment