Question : unable to create .git/index.lock': permission denied
Answered by : cadoteu
I needed to change the group of my .git folder and its contents:
sudo chown -R <owner>:<group> .git
needed to change the permission of this folder:
sudo chmod -R 775 .git
Source : | Last Update : Tue, 05 Apr 22