用户名:username

密码:password

仓库:git.coding.net/wangle/blog.git

git clone https://用户名:密码@仓库

即git clone https://username:password@git.coding.net/wangle/blog.git

使用清华大学开源软件镜像站 

git -C "$(brew --repo)" remote set-url origin https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/brew.git

git -C "$(brew --repo homebrew/core)" remote set-url origin https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/homebrew-core.git

git -C "$(brew --repo homebrew/cask)" remote set-url origin https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/homebrew-cask.git

brew update