Disabling SSL while using Git and pip

SSL errors If you get errors like : unable to get local issuer certificate error or Failed to connect to github.com port 443 after 21380 ms: Timed out while using git OR WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘ConnectTimeoutError while using pip , It could mean you are behind a corporate proxy. Behind tools such as ZScaler. A quick fix to this (although not the safest way) is to disable ssl for Git...

July 16, 2022 · Tejaswi D Prakash

Using git with large mono repos

The following approaches can be used to work with large git repositories. Limit large files from being downloaded. using ‘filter’ So files such as large binaries, zip files won’t be downloaded. #size in MB git clone --no-checkout --filter=blob:limit=<size> your_git_repo.com Limit git to a set of directories This can be done using git ‘sparse checkout’ #inialize empty git repo mkdir your_git_dir; cd your_git_dir git init # set which sub-directory contents you want git sparse-checkout set --cone input-directory #add remote and do a pull git remote add origin my_git_repo....

June 16, 2022 · Tejaswi D Prakash