이것은 나를 위해 일했습니다 (Manjaro Linux를 사용하고 있습니다). cmd를 실행하여 ca 인증서를 봅니다.
$ curl-config --ca
**/etc/ssl/certs/ca-certificates.crt**
그러나 실제로 경로에서 인증서를 찾았습니다.
**/etc/ca-certificates/extracted/ca-bundle.trust.crt**
그런 다음 ~ / .gitconfig에 구성을 추가하십시오 (존재하지 않는 경우 작성).
**vim ~/.gitconfig**
[http]
sslVerify = true
sslCAinfo = /etc/ca-certificates/extracted/ca-bundle.trust.crt
[user]
email = <email of github account>
name = <username of github account>
효과가있다!
.rbenv]$ git pull
remote: Counting objects: 70, done.
remote: Compressing objects: 100% (47/47), done.
remote: Total 70 (delta 39), reused 12 (delta 12), pack-reused 6
Unpacking objects: 100% (70/70), done.
From https://github.com/sstephenson/rbenv
c43928a..efb187f master -> origin/master
+ 37ec781...7e57b52 user-gems -> origin/user-gems (forced update)
Updating c43928a..efb187f
Fast-forward
libexec/rbenv-init | 4 ++--
libexec/rbenv-version-file | 1 +
test/init.bats | 2 +-
test/test_helper.bash | 25 +++++++++++++++----------
4 files changed, 19 insertions(+), 13 deletions(-)