[VersionControl]Git Ordinary Issues Notes
Keywords: git, http, clone, Ordinary Issues Notes
self signed certificate in certificate chain
clone failed using http:
Cloning into 'E:\project\source'...
fatal: unable to access 'https://user@127.0.0.1/r/myrepo.git/': SSL certificate problem: self signed certificate in certificate chain
Solution:
execute git command:
git config --global http.sslVerify false
no matching host key type found. Their offer: ssh-dss
Create file named config
and paste follows under C:\Users\[User]\.ssh
Host *
HostKeyAlgorithms +ssh-rsa
PubkeyAcceptedKeyTypes +ssh-rsa
KexAlgorithms +diffie-hellman-group1-sha1
error: unable to delete ’test’: remote ref does not exist
Error while deleting remote branch:
error: unable to delete 'dev_wag': remote ref does not exist
Caused by:
Remote branch was deleted.
Solution:
fetch before delete:
git fetch --prune
git push origin --delete test
https://stackoverflow.com/a/59441804/1645289
真正的个人主义在于把你自己这块材料铸造成个东西。有时候,我觉得这个世界就好像大海上翻了船,最要紧的是救出我自己。救国需从救出你自己开始。——胡适