From 36bb115eb00b57e9c7b1726b4890fc847d97f5c5 Mon Sep 17 00:00:00 2001 From: Patrick Date: Wed, 26 Mar 2025 23:42:09 +0100 Subject: [PATCH] Updated command to configure git to specify domain --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c738545..2ec3554 100644 --- a/README.md +++ b/README.md @@ -2,9 +2,9 @@ Command to configure git to accept the self signed certificate ```bash curl -k https://git.fritz.box/Patrick/gitea-git-config/raw/branch/main/git-cert.pem > $HOME/.git.certs.pem - git config --global http.sslCAInfo $HOME/.git.certs.pem +git config --global http.https://git.fritz.box.sslCAInfo $HOME/.git.certs.pem ``` Or as one command: ```bash -curl -k https://git.fritz.box/Patrick/gitea-git-config/raw/branch/main/git-cert.pem > $HOME/.git.certs.pem && git config --global http.sslCAInfo $HOME/.git.certs.pem +curl -k https://git.fritz.box/Patrick/gitea-git-config/raw/branch/main/git-cert.pem > $HOME/.git.certs.pem && git config --global http.https://git.fritz.box.sslCAInfo $HOME/.git.certs.pem ``` \ No newline at end of file