Error: could not lock config file .git/config: File exists

  1. Describe the issue briefly
    I am getting error “error: could not lock config file .git/config: File exists”, when I remote add module 3 files

  2. How much time have you spent debugging this issue?
    1 hour
    (Please spend at least 15 minutes to resolve the issue on your own before posting a new topic here)

  3. What is your hypothesis?

same with me if you find a answer please tell me too

I did something which is not recommended. I deleted the whole workspace folder and cloned the gitlab repo again, it worked
But be careful that you push last commits.

  1. Describe the issue briefly
    same problem

  2. How much time have you spent debugging this issue?
    (Please spend at least 15 minutes to resolve the issue on your own before posting a new topic here)

  3. What is your hypothesis?
    how to delete and create a clone again

same problem ant possible recommended solution for this problem other than resetting the work space

Use this FAQ as a reference to solve your query.