git pull fails with following error
remote: Counting objects: 146, done.
remote: fatal: unable to create thread: Resource temporarily unavailable
error: git
I was able to resolve this using following steps
Step 1. clone using lesser depth
git clone https://your_git_clone_url --depth 3
Step 2. Edit .git/config and add line for develop. This is required as after setting depth I was not able to switch remote branch other than master
[core]
repositoryformatversion = 0
filemode = false
bare = false
logallrefupdates = true
symlinks = false
ignorecase = true
[remote "origin"]
url = https:
fetch = +refs/heads/master:refs/remotes/origin/master
fetch = +refs/heads/develop:refs/remotes/origin/develop <<--- Add this line
[branch "master"]
remote = origin
merge = refs/heads/master
[branch "develop"]
remote = origin
merge = refs/heads/develop
Step 3: get fetch