[error: could not lock config file .git/config: File exists] in Module 4

  1. Describe the issue briefly
    crio-user@ayushshawz:~/workspace/ayushshawz-ME_QEATS_REVIEW_MP$ git remote add ME_QEATS_REVIEW_MP_MODULE_TAG_SUGGESTION_STUB git@gitlab.crio.do:ME_QEATS_REVIEW_MP_STUBS/ME_QEATS_REVIEW_MP_MODULE_TAG_SUGGESTION_STUB.git
    error: could not lock config file .git/config: File exists
    fatal: could not set ‘remote.ME_QEATS_REVIEW_MP_MODULE_TAG_SUGGESTION_STUB.url’ to ‘git@gitlab.crio.do:ME_QEATS_REVIEW_MP_STUBS/ME_QEATS_REVIEW_MP_MODULE_TAG_SUGGESTION_STUB.git’
    crio-user@ayushshawz:~/workspace/ayushshawz-ME_QEATS_REVIEW_MP$
    crio-user@ayushshawz:~/workspace/ayushshawz-ME_QEATS_REVIEW_MP$ git pull ME_QEATS_REVIEW_MP_MODULE_TAG_SUGGESTION_STUB master --allow-unrelated-histories
    fatal: ‘ME_QEATS_REVIEW_MP_MODULE_TAG_SUGGESTION_STUB’ does not appear to be a git repository
    fatal: Could not read from remote repository.

[this is what i’m getting]

  1. How much time have you spent debugging this issue?

    1 hour

  2. What is your hypothesis?
    I think there might be an issue with the repo

solution for this

1 - Visit the workspace folder
2 - Delete the folder
3 - Clone the repository again.

crio-user@ayushshawz:~/workspace/ayushshawz-ME_QEATS_REVIEW_MP$

should i delete ayushshawz-ME_QEATS_REVIEW_MP ??

how to delete the folder @amanagar .