我是从 git 开始的初学者。我已经在 github 上创建了我的帐户。我创建了一个新的存储库。但我无法使用终端推送或更新 github 中的更改。我正在运行以下命令:
mkdir ~/TestApplication
cd ~/TestApplication
git init
touch README
git add README
git commit -m 'first commit'
git remote add origin https://github.com/vinayptl/TestApplication.git
git push origin master
当我执行 last commandgit push origin master
时,它会冻结一段时间并给出以下错误:
error: Failed connect to github.com:443; Connection timed out while accessing
https://github.com/vinayptl/TestingApplication.git/info/refs
fatal: HTTP request failed
我在 Linux 平台上工作。可能是什么问题呢?我已经看到了一些来自 SO 的答案,但无法解决这个问题。