I\'m trying to learn how to use Git and have created a small project with an HTML, CSS, and Javascript file. I made a branch from my basically empty project and then made so
I got this error while pod update. I solved it by deleting the index.lock file in cocoapods's .git directory.
pod update
index.lock
cocoapods
.git
rm -f /Users/my_user_name/.cocoapods/repos/master/.git/index.lock
It might help someone.