$git --version //checked the version of git
$cd hello-world //created master branch hello-world
$vi readme.txt //created branch in master branch
$git add readme.txt //adding the branch to the staging area
$git commit -m "my first git commit" //commiting the file readme.txt
$git push origin master //pushing the branch to GITHUB
fatal error:Failed to connect to 192.168.1.150 port 1080: Operation
timed out
fatal error: unable to access 'https://github.com/aishwarya/hello-
world.git/': Unsupported proxy '123@github.com:8080', libcurl is built
without the HTTPS-proxy support.--
这是我遇到的两个错误,无法将任何内容推送到 GITHUB。我正在使用安装了Mojave的Macbook pro。有人可以请 在这个问题上的帮助..
--Thanks in advance
首先,您需要使用代理才能访问互联网吗?
如果没有,请确保您没有任何环境变量_proxy:
env|grep -i proxy
还要检查你的 git 配置:
git config -l --show-origin|grep -i proxy
还要检查您的~/.curlrc
:如果您不需要代理,则必须清理该文件条目。
最后,检查您的curl --version
(其输出应包括 SSL(。
尝试安装curl --with-openssl
。