0

JSPM and Git are sharing share the same proxy value in my .gitconfig:

[http]
     sslVerify = false
     proxy = http://<proxy>:8080

I need the proxy value set when updating JSPM. I don't need it when updating Git (publishing to local Git server).

If I leave the proxy value set, I can't push commits. If I set "proxy= ", then Git works again, but JSPM doesn't.

Ideally I'd like to make them independent.

How can I get out of this wacky situation?

proggrock
  • 3,239
  • 6
  • 36
  • 51
  • 1
    You might be able to do something with alias' or the no-proxy setting. Note I have used git but not jspm, so not sure how it works. – Confuzing Sep 22 '17 at 16:50

1 Answers1

0

Thanks @Confuzing for leading me in the direction where I found this: Only use a proxy for certain git urls/domains?

[http]
     sslVerify = false
     proxy = http://<proxy-for-jspm>:8080
[http "http://<local-giterver>:8080"]
     proxy = ""
proggrock
  • 3,239
  • 6
  • 36
  • 51