title: Is there any way to get git to work directly with a .pac (proxy auto-config) script?
body: <p>My corporate network works with a PAC script.(<a href="http://proxyconf.xxx.yy-ss/proxy.pac" rel="noreferrer">http://proxyconf.xxx.yy-ss/proxy.pac</a>). </p>
  
  <p>Using the PAC script in the "git config" command does not work.
   "git config --global http.proxy <a href="http://proxyconf.xxx.yy-ss/proxy.pac" rel="noreferrer">http://proxyconf.xxx.yy-ss/proxy.pac</a>" </p>
  
  <p>I got it to work by downloading the proxy.pac script (100 odd entries), selecting the most generic (usually the bottom most) proxy, and using it with my credentials in the "git config --global http.proxy" command.</p>
  
  <p>I have already asked about making git work through a proxy server:</p>
  
  <ul>
  <li><p><a href="https://stackoverflow.com/questions/783811/getting-git-to-work-with-a-proxy-server">Getting git to work with a proxy server</a></p></li>
  <li><p><a href="https://stackoverflow.com/questions/128035/how-do-i-pull-from-a-git-repository-through-an-http-proxy">How do I pull from a Git repository through an HTTP proxy?</a></p></li>
  </ul>
  
  <p>but the above questions make no mention of PAC scripts.</p>
  
  <p>Is there some setting with which I can directly use the proxy.pac script?</p>