博主头像
HT.

ワクワク

git基础命令

设置用户名和邮箱

git config --global user.name "替换为用户名"
git config --global user.email "替换为邮箱"

设置代理

git config --global http.proxy 代理服务器
git config --global https.proxy 代理服务器

取消代理

git config --global --unset-all http.proxy
git config --global --unset-all https.proxy

查看配置

# 查看所有配置
git config --list
# 查看特定配置来源
git config --show-origin --list

拉取

git clone 需要拉取的链接 
git基础命令
http://www.perlink.cc/index.php/%E7%AC%94%E8%AE%B0/66.html
本文作者 HT.
发布时间 2025-06-21
许可协议 CC BY-NC-SA 4.0
发表新评论