Yan.G WebServer Dev Engineer

git 验证

2019-05-03
git

git pull 代码保存用户名密码

git config --global credential.helper store

## ~/.gitconfig 文件中会多一行
[credential]
helper = store

# 再次执行git pull再次输入用户名和密码

# ~/.git-credentials 会多一行内容
http://{username}:{password}@{githubAddress}


上一篇 git 常用命令

下一篇 git 清空仓库

Content