sourcetree(mac)设置代理

Mercurial: edit ~/.hgrc
as shown here: http://www.selenic.com/mercurial/hgrc.5.html#http-proxy

Git: edit ~/.gitconfig
add an entry like this:    
[http]
  proxy = hostname:port

原文地址:https://www.cnblogs.com/liuzhenwei/p/5538650.html