From 26a7da0328df63dd5b6fa84d1cb7cf0059c8662c Mon Sep 17 00:00:00 2001 From: Patrick Date: Wed, 26 Mar 2025 23:04:46 +0100 Subject: [PATCH] Added command to configure git --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..c738545 --- /dev/null +++ b/README.md @@ -0,0 +1,10 @@ +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 +``` +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 +``` \ No newline at end of file