天天看点

Git配置用户名、邮箱、密码

配置用户名:username

git config --global user.name username

配置邮箱:user@email

git config --global user.email user@email

配置密码

git config --global credential.helper store

该命令会记住密码,执行一次 git pull 或 git push 等需要输入密码的命令,输入一次密码。