Last active
March 30, 2019 16:51
-
-
Save xproxima/82da8c453a1f22daf1673137672491f2 to your computer and use it in GitHub Desktop.
github本地账号切换
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 禁止本地保存账号 | |
git config --global --unset credential.helper | |
git config --system --unset credential.helper | |
# 本地保存账号 | |
git config credential.helper store |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 禁止本地保存账号 | |
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