I have created a project with git many years ago. But it doesn't contain all the files.
Currently I would like to add all files of that project to git with a new account. But while trying to commit it says "The repository is locked" . After doing a research I found need to remove .git folder from project so I ran
rm -f .git/index.lock
. But unable to remove the existing git from project. How can I delete the existing git from project.
Edit
Iam able to delete the git folder now and create a new git. But two separate repositories are create (one for the project) and other for Pods. How to create a single repository for the whole project