1. Git
1.1.1. www 用户 全局配置
sudo -Hu www git config --global user.name "alonexy"
sudo -Hu www git config --global user.email "xxx@xxx.com"
sudo -Hu www git config --global credential.helper store
#
执行 git pull 再次输入用户名和密码
1.1.2. 或者到 www 用户下
vim .git-credentials
输入
https://{username}:{password}@github.com
{ } 代表变量
// 例如: https://username:password@github.com