cd ~ 进入用户目录,而后建立 .git-credentials 文件,git
touch .git-credentialsgithub
vim .git-credentialsvim
输入 拉取的帐号密码。 示例:https://{username}:{password}@github.combash
进入git bash终端, 输入以下命令:it
git config --global credential.helper store终端