I am using git-scm and tried to push to a repository. Upon doing so, I was greeted with the following message:
fatal: unable to get credential storage lock: File
I followed the instructions listed before in this thread and excecute this command: git config --list --show-origin
, after that it shows the locations where git has any type of configuration, like this: file:"C:\ProgramData/Git/config" , "file:C:/Users/User/.gitconfig" , "file:.git/config".
Then I dive into the folder file:C:/Users/User/ and remove the file called: .git-credentials.lock , then excecute "git pull origin branch" again and it works !!