changing git ssl to git https

git config –global –unset http.proxy

git config –global credential.helper “cache –timeout=36000”

git config –global credential.helper wincred

git remote -v

git remote set-url origin https://gitlab.server.com/prj/module.git

git pull

fatal: unable to access ‘https://gitlab.server.com/prj/module.git/’: SSL certificate problem: unable to get local issuer certificate

git config –global http.sslVerify false

Username for ‘https://gitlab.server.com’: username
Password for ‘https://username@gitlab.server.com’:
Already up-to-date.

One thought on “changing git ssl to git https

  1. To create a new branch without history
    git checkout –orphan newbranch
    git rm -rf .

    git add –all
    git commit -m ‘Initial commit’

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.