Posts

Showing posts from October, 2026

Fixing Git Portable SSL Certificate Errors on Windows

Git Portable on Windows and how you resolved it. Fixing Git Portable SSL Certificate Errors on Windows: CRYPT_E_NO_REVOCATION_CHECK Introduction While cloning a Git repository on Windows using Git Portable, I encountered the following SSL error: text schannel: next InitializeSecurityContext failed: CRYPT_E_NO_REVOCATION_CHECK (0x80092012) - The revocation function was unable to check revocation for the certificate. This error prevented Git from establishing a secure HTTPS connection to the remote repository. In this post, I'll explain what caused the issue, how I configured Git Portable to use the Windows certificate store, and the steps that resolved the problem. Understanding the error Git for Windows can use different SSL/TLS backends to establish secure connections. One of them is Schannel, which uses Windows' native security infrastructure. The error CRYPT_E_NO_REVOCATION_CHECK indicates that Windows could not complete the certificate revocation check. Revocation checking ...

Git Guide: How to Remove Accidental Large Files from History

  📑 Git Guide: How to Remove Accidental Large Files from History When you commit a file larger than 100MB, GitHub will reject your push—even if you delete the file later. This happens because the file remains trapped inside your local commit history. Follow these steps to purge it. Phase 1: Identify the Culprit 🔍 If your push hangs or fails, find out exactly which file is taking up all the space: bash git rev-list --objects --all | grep "$(git verify-pack -v .git/objects/pack/*.idx | sort -k 3 -n | tail -10 | awk '{print $1}')" Use code with caution. Look at the very last line of the output to find the exact file path of the heaviest object. Phase 2: Purge the File from Git History ✂️ Once you have the path (e.g., code/frontend/node_modules.zip), run the following commands sequentially to erase it completely from every commit. 1. Rewrite the Commit History Run this command to strip the file out of Git's memory across all local commits without changing your actua...