G

Git相关配置

Yuming 配置 2021-10-20

用户名邮箱设置

系统级别

git config --global user.name "xxx"
git config --global user.email "xxx@xxx.com"

仓库级别

git config --local user.name "xxx"
git config --local user.email "xxx@xxx.com"

代理设置

添加代理

git config --local http.proxy "http://127.0.0.1:7890"
git config --local https.proxy "http://127.0.0.1:7890"

删除代理

git config --local --unset http.proxy
git config --local --unset https.proxy
PREV
Manjaro 初次配置
NEXT
Homebrew 常用命令

评论(0)

发布评论