向github push数据,结果出现了以下错误:
$ git push origin master
fatal: unable to access 'https://github.com/xxxxxxxx/Java8SourceCode.git/': Failed to connect to github.com port 443: Operation timed out
$ git push origin master
fatal: unable to access 'https://github.com/xxxxxxxx/Java8SourceCode.git/': LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443
原来是自己忘记配置用户名和密码了,
使用下面的命令配置github上的用户名和密码,就可以正常push了,搞定!
$ git config --global user.name "username"
$ git config --global user.email "email"