There must be a very good reason why we complicated our lives with all these technologies ... arguably that is freedom for something. Freedom might be a right but it is never free; so let me demonstrate how I earned it.
Wednesday, October 20, 2021
"git pull" failed with "cannot lock ref"
This was the first time I ran into the issue.
Some search turned up a list of remedies, but only this command worked for me.
git gc --prune=now
which basically does a set of housecleaning tasks on the local repo.
No comments:
Post a Comment