Skip to content
المشاريع

nikole-fox/git-openssl-shellscript

عرض على GitHub

حول

برنامج نصي لـ Shell لتجميع Git مع OpenSSL

أدوات التطوير

كيف تُقاس هذه الأرقام

النمو المقاس للنجوم

خلال 24 ساعة
٠
خلال 7 أيام
٠
خلال 15 يومًا
٠
خلال شهر
٠

تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.

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)

استكشف مشاريع مشابهة ومرتبطة

جارٍ التحميل…