git pull gives error: 401 Authorization Required while accessing https://git.foo.com/bar.git

前端 未结 2 701
面向向阳花
面向向阳花 2021-02-12 11:53

My macbook pro is able to clone/push/pull from the company git server. My cent 6.3 vm gets a 401 error

git clone https://git.acme.com/git/torque-setup
\"error:          


        
2条回答
  •  长情又很酷
    2021-02-12 12:11

    I would update the git version: 1.7.10 (or thereabouts) had authentication improvements. It's possible that these improvements were only related to proxies though -- I've forgotten the details already.

    Speaking of proxies, you could double-check git config: You wouldn't have proxies or anything like that configured on the macbook but not on the cent machine?

提交回复
热议问题