2

I have a pac file to access to proxy, I am using bitbucket.

http://xxx.xxx/xxx/proxy.pac same user of machine logged and password

I need git access to the repository.

Clone command is: git clone https://test@bitbucket.org/test/test.git

How can I configure it?

Dave
  • 7,028
  • 11
  • 35
  • 58
  • Does this answer your question? [Is there any way to get git to work directly with a .pac (proxy auto-config) script?](https://stackoverflow.com/questions/37343550/is-there-any-way-to-get-git-to-work-directly-with-a-pac-proxy-auto-config-scr) – Attila Csipak Feb 17 '21 at 07:51

1 Answers1

0

Compared to my 2016 answer, I now (June 2021) uses genotrance/px

That means your HTTPS_PROXY becomes http://127.0.0.1:3128

From there, you can access internet, and your BitBucket repository.


Note: the PR 177 "feat: process noproxy rules even with MODE_CONFIG_PAC" is being implemented (Q1 2023)

When using PX in MODE_CONFIG_PAC, noproxy rules are ignored.

This commit indicates required changes in order to have the expected behavior.

VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250