Git http.proxy Setting

后端 未结 2 1882
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-02-01 23:18

I was trying to figure this git thing out and at one moment I messed with the http.proxy variable. Right now it\'s just nonsense, \'asdf\' so pushing doesn\'t work. I don\'t kno

2条回答
  •  不知归路
    2021-02-01 23:55

    The git config file is a local one (ie it is not pushed to a remote repo).
    So unless you have some kind of local history/backup mechanism in place (like TimeMachine on Mac), you cannot restore it easily.

    On Windows for instance, if you have access to the registry, you can look for the proxy settings there.

提交回复
热议问题