git指南.md 376 B

Git操作指南

创建本地远程仓库

# 初始化一个本地仓库,但该仓库是作为远程仓库使用。
git init --bare

网络代理

# 配置网络代理
git config --global http.proxy "http://127.0.0.1:8080"
git config --global https.proxy "http://127.0.0.1:8080"

# 取消配置
git config --global --unset https.proxy