mirror of
https://gitea.com/mcereda/oam.git
synced 2026-02-22 11:34:25 +00:00
Added how to not verify certificates to git notes
This commit is contained in:
@@ -727,17 +727,17 @@ To only pull from `repo1` but push to `repo1` and `repo2` for a specific branch
|
||||
[remote "origin"]
|
||||
url = ssh://git@aaa.xxx.com:7999/yyy/repo1.git
|
||||
fetch = +refs/heads/*:refs/remotes/origin/*
|
||||
...
|
||||
…
|
||||
[remote "specialRemote"]
|
||||
url = ssh://git@aaa.xxx.com:7999/yyy/repo1.git
|
||||
pushurl = ssh://git@aaa.xxx.com:7999/yyy/repo1.git
|
||||
pushurl = ssh://git@aaa.xxx.com:7999/yyy/repo2.git
|
||||
fetch = +refs/heads/*:refs/remotes/origin/*
|
||||
...
|
||||
…
|
||||
[branch "specialBranch"]
|
||||
remote = origin
|
||||
pushRemote = specialRemote
|
||||
...
|
||||
…
|
||||
```
|
||||
|
||||
See <https://git-scm.com/docs/git-config#git-config-branchltnamegtremote>.
|
||||
@@ -765,6 +765,15 @@ If gnupg2 and gpg-agent 2.x are used, be sure to set the environment variable GP
|
||||
export GPG_TTY=$(tty)
|
||||
```
|
||||
|
||||
### Git does not accept self-signed certificates
|
||||
|
||||
Disable certificate verification:
|
||||
|
||||
```shell
|
||||
export GIT_SSL_NO_VERIFY=true
|
||||
git -c http.sslVerify=false …
|
||||
```
|
||||
|
||||
## Further readings
|
||||
|
||||
- The official [LFS website]
|
||||
|
||||
Reference in New Issue
Block a user