nikole-fox/git-openssl-shellscript
关于
用于编译带有 OpenSSL 支持的 Git 的 Shell 脚本
开发工具实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 0
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文git-openssl-shellscript
Shellscript to compile git with OpenSSL
compile-git-with-openssl.sh
There are at times when you need to use git with https instead of ssh (behind firewalls where ssh is not allowed but https is, for instance). There is a gnutls issue that prevents communication with some https behind such firewalls or unusual proxy configurations, etc. You will typically see an error such as this:
fatal: unable to access 'http://[email protected]/arbitrary/repository.git': gnutls_handshake() failed: Illegal parameter
The only way to resolve this is by re-compiling git with openssl instead of gnutls.
This shellscript does that by downloading the source for git, switching it to openssl and then building it. If you are using a managed version of git (eg: through ubuntu's package manager) you will have to re-run the script every time you receive an updated version of git because the managed version will overwrite your compiled version (it's honestly better to just uninstall it first, otherwise you're going to be fighting with apt with every git update)
探索相关项目
加载中…